u-boot-brain/arch/x86/lib/fsp
Simon Glass c3863eadbc x86: fsp: Save usable RAM and hob_list in the handoff area
The useable RAM is calculated when the RAM is inited. Save this value so
that it can be easily used in U-Boot proper.

Also save a pointer to the hob list so that it is accessible (before
relocation only) in U-Boot proper. This avoids having to scan it in SPL,
for everything U-Boot proper might need later.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: guard handoff_arch_save() with IS_ENABLED(CONFIG_USE_HOB)]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2019-10-08 13:57:36 +08:00
..
fsp_common.c x86: Move common fsp functions into a common file 2019-10-08 13:54:01 +08:00
fsp_dram.c x86: fsp: Save usable RAM and hob_list in the handoff area 2019-10-08 13:57:36 +08:00
fsp_support.c x86: fsp: Add access to variable MRC data 2019-10-08 13:57:31 +08:00
Makefile x86: fsp: Move common support functions into a common file 2019-10-08 13:54:07 +08:00