coreboot/util
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
..
abuild coreboot: Move ARCH_* from board/Kconfig to cpu or soc Kconfig. 2014-05-08 22:36:06 +00:00
acpi
amdtools
cbfstool util/cbfstool: Fix byte-ordering for payload type field. 2014-05-27 06:20:42 +00:00
cbmem cbmem: use a single id to name mapping table 2014-05-14 22:53:16 +00:00
crossgcc aarch64: Add aarch64-elf toolchain to crossgcc Makefile 2014-03-12 22:27:25 +00:00
dtd_parser
dumpmmcr
ectool
exynos exynos: Install the BL1 and set the checksum in the Makefile. 2013-12-10 03:26:39 +00:00
genprof coreboot: Rename coreboot_ram stage to ramstage 2014-05-07 23:30:23 +00:00
getpir
gitconfig
i915tool
ifdtool
inteltool
ipqheader ipq8064: SBL headers must have 4 byte aligned blob sizes 2014-04-22 20:26:25 +00:00
k8resdump
kconfig kconfig: add named choice group 2013-05-13 17:18:52 -07:00
lbtdump
lint
mkelfImage
mptable
msrtool
nrv2b
nvramtool coreboot: add -MG to makefile to make it pass clang. 2013-08-12 17:24:32 -07:00
optionlist
resetcf
romcc
runfw ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
sconfig
scripts
showdevicetree ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
superiotool
vgabios
xcompile aarch64: Add support for the xcompile script 2014-02-21 05:31:13 +00:00