coreboot/src/lib
Aaron Durbin 0b418bd287 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>
2020-10-13 08:28:14 +00:00
..
gnat
asan.c arch/x86: Add support for ASan to memory functions 2020-08-21 07:46:04 +00:00
b64_decode.c
boot_device.c
bootblock.c src/lib/bootblock.c: make bootblock_main_with_timestamp public 2020-09-22 07:00:34 +00:00
bootmem.c lib/bootmem.c: Improve bootmem_allocate_buffer algorithm 2020-07-30 17:13:28 +00:00
bootmode.c
bootsplash.c
cb.ads
cbfs.c lib/cbfs: deserialize cbfs_stage objects correctly 2020-10-13 08:28:14 +00:00
cbmem_common.c
cbmem_console.c
cbmem_stage_cache.c
compute_ip_checksum.c
coreboot_table.c
crc_byte.c
decompressor.c
delay.c
device_tree.c
dimm_info_util.c
edid.c
edid_fill_fb.c
espi_debug.c
ext_stage_cache.c src/lib: Remove unused function parameters in imd.c 2020-08-04 07:13:59 +00:00
fallback_boot.c
fit.c
fit_payload.c
fmap.c lib/fmap: add ENV_SMM check to setup_preram_cache 2020-09-14 16:01:42 +00:00
fw_config.c lib/fw_config: change BOOT_STATE_INIT_ENTRY to be BS_DEV_INIT_CHIPS 2020-10-08 15:30:15 +00:00
gcc.c
gcov-glue.c lib/gcov: Remove assert(0) 2020-08-03 10:36:00 +00:00
gcov-io.c
gcov-io.h
gcov-iov.h
gpio.c gpio: Pull down HiZ pins after reading tristate GPIO strapping 2020-08-06 23:54:41 +00:00
halt.c
hardwaremain.c ACPI S3: Clean up resume path 2020-07-28 10:37:28 +00:00
hexdump.c
hexstrtobin.c
hw-time-timer.adb
imd.c lib/imd: Prohibit removing imd_entry covering root region 2020-08-26 07:33:13 +00:00
imd_cbmem.c lib/imd_cbmem.c: Add a helper function to indicate that cbmem is ready 2020-08-17 06:22:58 +00:00
jpeg.c src/lib/jpeg.c: Drop dead code 2020-07-09 23:50:51 +00:00
jpeg.h
Kconfig treewide: rename GENERIC_SPD_BIN to HAVE_SPD_BIN_IN_CBFS 2020-09-23 09:00:47 +00:00
libgcc.c
libgcov.c lib/libgcov.c: Do not redefine alloca 2020-07-29 09:27:33 +00:00
list.c
lzma.c
lzmadecode.c
lzmadecode.h
Makefile.inc trogdor: Modify DDR training to use mrc_cache 2020-10-09 19:45:40 +00:00
malloc.c
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c
memset.c
nhlt.c
primitive_memtest.c
prog_loaders.c prog_loaders: Fix ramstage loading on x86 2020-07-06 09:36:15 +00:00
prog_ops.c
program.ld lib: Add ASan support to ramstage on x86 arch 2020-08-21 07:37:52 +00:00
ramdetect.c
ramtest.c
reg_script.c
region_file.c region_file_update_data_arr: Modify region_file with array of buffers 2020-09-16 16:02:54 +00:00
reset.c
rmodule.c
rmodule.ld
romstage_handoff.c
rtc.c
selfboot.c
spd_bin.c lib/spd: respect spd memory part name override 2020-10-09 07:34:50 +00:00
spd_cache.c
stack.c
string.c lib/string: Add standard strstr() function 2020-08-03 05:12:23 +00:00
thread.c
timer.c
timer_queue.c src: Remove unused 'include <stddef.h> 2020-08-18 12:15:44 +00:00
timestamp.c symbols: Change implementation details of DECLARE_OPTIONAL_REGION() 2020-08-27 22:11:17 +00:00
trace.c src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
ubsan.c lib/ubsan.c: Remove GCC 5.x workaround 2020-10-05 16:18:24 +00:00
uuid.c
version.c
wrdd.c