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.
Signed-off-by: Aaron Durbin <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <email@example.com>
Reviewed-by: Andrey Petrov <firstname.lastname@example.org>
Reviewed-by: John Zhao <email@example.com>
5 files changed