Intel FSP: Move to DYNAMIC_CBMEM
Flag the boards with BROKEN_CAR_MIGRATE, as testing for EARLY_CBMEM_INIT is not enough to disable CBMEM console for romstage on these platforms. To have CBMEM early in ramstage, define get_top_of_ram() on sandy/ivy. Change-Id: Ieefc12099a0e043eb1a7e14bdc7c6e3d209b3d8f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7468 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Martin Roth <gaumless@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include <broadwell/pci_devs.h>
|
||||
#include <broadwell/systemagent.h>
|
||||
|
||||
static unsigned long get_top_of_ram(void)
|
||||
unsigned long get_top_of_ram(void)
|
||||
{
|
||||
/*
|
||||
* Base of DPR is top of usable DRAM below 4GiB. The register has
|
||||
@@ -39,8 +39,3 @@ static unsigned long get_top_of_ram(void)
|
||||
|
||||
return (unsigned long)tom;
|
||||
}
|
||||
|
||||
void *cbmem_top(void)
|
||||
{
|
||||
return (void *)get_top_of_ram();
|
||||
}
|
||||
|
@@ -31,6 +31,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||
select ARCH_ROMSTAGE_X86_32
|
||||
select ARCH_RAMSTAGE_X86_32
|
||||
select DYNAMIC_CBMEM
|
||||
select BROKEN_CAR_MIGRATE
|
||||
select HAVE_SMI_HANDLER
|
||||
select HAVE_HARD_RESET
|
||||
select MMCONF_SUPPORT
|
||||
|
Reference in New Issue
Block a user