coreboot/src/commonlib
Brandon Breitenstein 51a0f7cee4 commonlib: update fsp_relocate to make it compatible with UEFI 2.6
UEFI 2.6 spec casts the return of FFS_FILE2_SIZE to a UINT32
which cannot be read using read_le32(&returnval). Add in a
cast in order to safeguard for any non x86 architecture that may
use this relocate. The proper change will be to get the UEFI
header files changed to not cast this return value.

Change-Id: Ie1b50d99576ac42a0413204bbd599bab9f01828e
Signed-off-by: Brandon Breitenstein <brandon.breitenstein@intel.com>
Reviewed-on: https://review.coreboot.org/16309
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-02 18:11:14 +02:00
..
include/commonlib cbfs: Add "struct" file type and associated helpers 2016-08-27 01:16:22 +02:00
cbfs.c commonlib: cbfs: Add CBFS attribute support 2016-08-27 01:16:16 +02:00
fsp_relocate.c commonlib: update fsp_relocate to make it compatible with UEFI 2.6 2016-09-02 18:11:14 +02:00
lz4.c.inc cbfs: Add LZ4 in-place decompression support for pre-RAM stages 2016-02-22 21:38:37 +01:00
lz4_wrapper.c src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy 2016-06-24 19:10:05 +02:00
Makefile.inc drivers/intel/fsp2_0: load and relocate FSPS in cbmem 2016-07-19 20:18:08 +02:00
mem_pool.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
region.c commonlib/region: allow empty mmap()/munmap() in region_device_ops 2016-08-15 21:03:06 +02:00