summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-02-05 01:10:08 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-02-11 20:14:39 +0100
commitc1d1fd850ee7b8e52bd2ea5064fab68ac0c27098 (patch)
treec02ab342de52f33b6c6d4175350d46c5a760a86b /payloads/libpayload
parent2516f2e467afcb263aa0ea2a18ea7c289e7bf10f (diff)
cbfstool: Deserialize CBFS master header when reading image
Rather than using [hn]to[nh] whenever accessing a member of the CBFS header, deserialize the header when opening the CBFS image. The header is no longer a pointer inside the CBFS buffer, but a separate struct, a copy of the original header in a host-friendly format. This kills more of the ntohl usage. Change-Id: I5f8a5818b9d5a2d1152b1906249c4a5847d02bac Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/5121 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload')
0 files changed, 0 insertions, 0 deletions