Alexandru Gagniuc (mr.nuke.me@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13340
-gerrit
commit ec7d5f0b23a4be285e5743f88c2cadaa625d02ff Author: Andrey Petrov andrey.petrov@intel.com Date: Wed Oct 28 13:02:59 2015 -0700
soc/apollolake: Call into FSP memory init
This is suficient to initialize memory as long as the UPD in the FSP binary matched the platform. A mechanism to provide platform-specific UPD data is not implemented in this patch.
Change-Id: Ib500095ed5b73174f74e72a372529b095c4f8411 Signed-off-by: Andrey Petrov andrey.petrov@intel.com --- src/soc/intel/apollolake/romstage/romstage.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/soc/intel/apollolake/romstage/romstage.c b/src/soc/intel/apollolake/romstage/romstage.c index 2cbf4a9..99953fd 100644 --- a/src/soc/intel/apollolake/romstage/romstage.c +++ b/src/soc/intel/apollolake/romstage/romstage.c @@ -15,6 +15,7 @@ #include <console/console.h> #include <cpu/x86/msr.h> #include <device/pci_def.h> +#include <fsp/api.h> #include <soc/iomap.h> #include <soc/romstage.h> #include <soc/uart.h> @@ -61,6 +62,8 @@ asmlinkage void romstage_entry(void)
soc_early_romstage_init();
+ fsp_memory_init(); + /* This function must not return */ while(1) ;