coreboot-kgpe-d16/util
Aaron Durbin ca63027ef7 cbfstool: process cbfs_payload_segment(s) in host byte order
The printing routines of the cbfs_payload_segment assumed the type
could be accessed in host order. Each of the fields need to be
converted to the host order before inspecting the fields. In addition,
this removes all the ntoh*() calls while processing the
cbfs_payload_segment structures.

cbfstool would crash adding entries or just printing entries
containing a payload when -v was passed on the command line.

Change-Id: Iff41c64a99001b9e3920e2e26828c5fd6e671239
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/6498
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <gaumless@gmail.com>
2014-08-07 19:05:43 +02:00
..
abuild abuild: make build directory configurable with a variable 2014-05-23 08:35:31 +02:00
acpi GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
amdtools Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
arm_boot_tools/mksunxiboot cpu/allwinner/a10: Provide utility to make a bootable image 2014-01-13 04:03:00 +01:00
board_status util/board_status: use the right location of cbfstool 2014-07-28 23:18:56 +02:00
cbfstool cbfstool: process cbfs_payload_segment(s) in host byte order 2014-08-07 19:05:43 +02:00
cbmem cbmem: Terminate the cbmem console at the cursor position. 2014-07-30 11:49:45 +02:00
crossgcc crossgcc: Support OSX 10.9 built-in tar utility program. 2014-04-29 21:23:10 +02:00
dtd_parser GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
dumpmmcr dumpmmcr: Fix compilation warnings in printf 2012-01-26 09:57:56 +01:00
ectool GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
genprof Rename coreboot_ram stage to ramstage 2014-04-26 13:27:09 +02:00
getpir GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
gitconfig gitconfig: Match the Change-Id line more exactly 2012-08-27 15:41:33 +02:00
i915tool util/i915tool: close the file also when fread() returned an error 2014-07-30 13:16:53 +02:00
ifdfake ifdfake - Create an IFD with just a section layout 2013-06-24 17:56:42 +02:00
ifdtool ifdtool: Check if file was opened 2014-08-03 15:19:28 +02:00
inteltool util/inteltool: Add pci ids for 4 northbridge models instead of 1. 2014-06-11 03:05:01 +02:00
k8resdump GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
kconfig kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
lbtdump lbtdump: Dump forwarded tables. 2014-03-09 21:19:29 +01:00
lint build: make scan-build work again 2014-05-17 21:15:14 +02:00
mkelfImage GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
mptable mptable: realign comments with code 2012-06-20 12:46:55 +02:00
msrtool msrtool: Fix verbose ignored by cpuid(). 2013-07-08 19:39:00 +02:00
nvramtool nvramtool: Close file after use 2014-08-03 15:19:27 +02:00
optionlist GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
resetcf Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
romcc romcc.c: Fixes warning about unused function from unused macros. 2014-03-17 19:09:49 +01:00
runfw Add a clean target to the run firmware (runfw) Makefile 2013-01-30 21:22:04 +01:00
sconfig sconfig: improve argument parsing 2014-08-04 20:57:12 +02:00
showdevicetree Show the device tree. 2013-03-16 04:30:16 +01:00
spkmodem_recv Add spkmodem receiver 2013-06-12 05:18:24 +02:00
superiotool util/superiotool: Add initial support for Fintek F71869ED. 2014-03-27 10:15:28 +01:00
vgabios Rename devices -> device 2012-11-30 23:59:58 +01:00
viatool viatool: Add utility to read various configuration bits on VIA systems 2013-06-04 22:36:26 +02:00
xcompile build system: remove duplicate architecture list 2014-07-30 21:06:43 +02:00