coreboot/util/cbfstool
Hung-Te Lin 423f7dd28f util/cbfstool: Fix byte-ordering for payload type field.
In https://chromium-review.googlesource.com/181272 the payload->type has been
changed to big-endian (network ordering) but the cbfs_image is still parsing
type as host ordering, which caused printing cbfs image verbosely
(cbfstool imge print -v) would fail to find entry field and print numerous
garbage output.

Payload fields should be always parsed in big-endian (network ordering).

BUG=none
TEST=make; cbfstool image.bin print -v -v -v # see payloads correctly

Change-Id: If1ac355b8847fb54988069f694bd2f317ce49a1a
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/200158
Reviewed-by: Ronald Minnich <rminnich@chromium.org>
2014-05-27 06:20:42 +00:00
..
lzma cbfstool: Propogate compression errors back to the caller. 2014-02-24 13:35:19 +00:00
cbfs-mkpayload.c rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
cbfs-mkstage.c rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
cbfs.h rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
cbfs_image.c util/cbfstool: Fix byte-ordering for payload type field. 2014-05-27 06:20:42 +00:00
cbfs_image.h cbfstool: add code to serialize the header using the new xdr functions 2014-01-25 05:54:30 +00:00
cbfstool.c rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
coff.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
common.c coreboot arm64: Add support for arm64 into coreboot framework 2014-05-15 23:52:58 +00:00
common.h rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
compress.c cbfstool: Propogate compression errors back to the caller. 2014-02-24 13:35:19 +00:00
elf.h rmodtool: add support for ARM 2014-03-31 22:41:21 +00:00
elfheaders.c rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
elfparsing.h rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
EXAMPLE cbfstool: Update example file. 2013-02-04 11:12:15 +01:00
fit.c rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
fit.h cbfstool: Add update-fit command 2013-03-27 01:25:12 +01:00
fv.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
Makefile rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
Makefile.inc rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
rmodtool.c rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
rmodule.c rmodtool: add support for ARM 2014-03-31 22:41:21 +00:00
rmodule.h rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
swab.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00
xdr.c rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00