From d4edacb2e4803bd06091e3c57a1f087388228529 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Mon, 8 Feb 2016 07:12:30 -0800 Subject: soc/intel/quark: Call FSP SiliconInit Optionally relocate FSP into DRAM and then call FSP SiliconInit. Testing on Galileo: * Edit the src/mainboard/intel/galileo/Makefile.inc file * Add "select ADD_FSP_PDAT_FILE" * Add "select ADD_FSP_RAW_BIN" * Add "select ADD_RMU_FILE" * Add "select DISPLAY_FSP_ENTRY_POINTS" * Add "select DISPLAY_HOBS" * Optionally add "select RELOCATE_FSP_INTO_DRAM" * Place the FSP.bin file in the location specified by CONFIG_FSP_FILE * Place the pdat.bin files in the location specified by CONFIG_FSP_PDAT_FILE * Place the rmu.bin file in the location specified by CONFIG_RMU_FILE * Testing is successful if: * FSP entry points are displayed and * The message "FspSiliconInit returned 0x00000000" is displayed and * The HOBs are displayed correctly and * The message "ERROR - Missing one or more required FSP HOBs!" is not displayed Change-Id: I91e660ea373a8bb00fc97fe8b760347cbfa96b1e Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/13631 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/soc/intel/quark/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/soc/intel/quark/Kconfig') diff --git a/src/soc/intel/quark/Kconfig b/src/soc/intel/quark/Kconfig index 08272f02b9..aab509a673 100644 --- a/src/soc/intel/quark/Kconfig +++ b/src/soc/intel/quark/Kconfig @@ -174,6 +174,13 @@ config FSP_ESRAM_LOC help The location in ESRAM where a copy of the FSP binary is placed. +config RELOCATE_FSP_INTO_DRAM + bool "Relocate FSP into DRAM" + default n + depends on PLATFORM_USES_FSP1_1 + help + Relocate the FSP binary into DRAM before the call to SiliconInit. + ##### # FSP PDAT binary # The following options control the FSP platform data binary -- cgit v1.2.3