diff options
author | Aaron Durbin <adurbin@chromium.org> | 2020-10-08 14:56:03 -0600 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-10-13 08:28:14 +0000 |
commit | 0b418bd287e47ca74b124617c681b1d5267b036f (patch) | |
tree | 651bba568b0bdd4a17f1051c777e97183463a8b2 /src/device/pci_rom.c | |
parent | f60ce24ad0fe54566759a433cab1a0564fa40f07 (diff) |
lib/cbfs: deserialize cbfs_stage objects correctly
cbfstool emits cbfs_stage objects in little endian encoding.
However, big endian targets then read the wrong values from
these objects. To maintain backwards compatibility with existing
cbfs objects add in the little endian deserialization.
Change-Id: Ia113f7ddfa93f0ba5a76e0397f06f9b84c833727
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46227
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Marty E. Plummer <hanetzer@startmail.com>
Diffstat (limited to 'src/device/pci_rom.c')
0 files changed, 0 insertions, 0 deletions