coreboot-kgpe-d16/src/commonlib
Aaron Durbin 32ac01823b drivers/intel/fsp2_0: load and relocate FSPS in cbmem
The FSPS component loading was just loading to any memory address
listed in the header. That could be anywhere in the address space
including ramstage itself -- let alone corrupting the OS memory on
S3 resume. Remedy this by loading and relocating FSPS into cbmem.
The UEFI 2.4 header files include path are selected to provide the
types necessary for FSP relocation.

BUG=chrome-os-partner:52679

Change-Id: Iaba103190731fc229566a3b0231cf967522040db
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/15742
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-by: John Zhao <john.zhao@intel.com>
2016-07-19 20:18:08 +02:00
..
include/commonlib commonlib: fix 'AFTER CAR' spacing to align with others 2016-07-19 20:13:38 +02:00
Makefile.inc drivers/intel/fsp2_0: load and relocate FSPS in cbmem 2016-07-19 20:18:08 +02:00
cbfs.c commonlib: Add function to hash contents of a CBFS region. 2016-01-06 01:12:04 +01:00
fsp_relocate.c cbfstool/fsp: Rename fsp1_1_relocate 2016-05-11 18:38:28 +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
mem_pool.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
region.c region: Add writeat and eraseat support 2016-06-24 20:48:12 +02:00