arch/x86: Flag platforms without RELOCATABLE_RAMSTAGE

To flip the Kconfig default, flag some platforms with
NO_RELOCATABLE_RAMSTAGE.

Change-Id: I72c6d07e5a60789bbe0e068a0130d7e3bd07a1d5
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/26814
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Kyösti Mälkki 2018-06-03 14:55:10 +03:00 committed by Patrick Georgi
parent d30c129ad4
commit 7904e720d5
7 changed files with 11 additions and 0 deletions

View File

@ -227,6 +227,11 @@ config UBSAN
say N because it adds a small performance penalty and may abort
on code that happens to work in spite of the UB.
config NO_RELOCATABLE_RAMSTAGE
bool
default n if ARCH_X86
default y
config RELOCATABLE_RAMSTAGE
depends on EARLY_CBMEM_INIT
bool "Build the ramstage to be relocatable in 32-bit address space."

View File

@ -24,6 +24,7 @@ config NORTHBRIDGE_AMD_AMDFAM10
select PCIEXP_COMMON_CLOCK
select PCIEXP_CLK_PM
select PCIEXP_L1_SUB_STATE
select NO_RELOCATABLE_RAMSTAGE
if NORTHBRIDGE_AMD_AMDFAM10
config AGP_APERTURE_SIZE

View File

@ -2,6 +2,7 @@ config NORTHBRIDGE_AMD_LX
bool
select GEODE_VSA
select LATE_CBMEM_INIT
select NO_RELOCATABLE_RAMSTAGE
if NORTHBRIDGE_AMD_LX

View File

@ -18,6 +18,7 @@ config NORTHBRIDGE_INTEL_I440BX
select NO_MMCONF_SUPPORT
select HAVE_DEBUG_RAM_SETUP
select UDELAY_IO
select NO_RELOCATABLE_RAMSTAGE
config SDRAMPWR_4DIMM
bool

View File

@ -21,6 +21,7 @@ config NORTHBRIDGE_VIA_VX900
select HAVE_DEBUG_RAM_SETUP
select HAVE_DEBUG_SMBUS
select HAVE_HARD_RESET
select NO_RELOCATABLE_RAMSTAGE
if NORTHBRIDGE_VIA_VX900

View File

@ -31,6 +31,7 @@ config CPU_SPECIFIC_OPTIONS
select HAVE_SMI_HANDLER
select HAVE_HARD_RESET
select RELOCATABLE_MODULES
select NO_RELOCATABLE_RAMSTAGE
select PARALLEL_MP
select REG_SCRIPT
select SMM_TSEG

View File

@ -14,6 +14,7 @@ config CPU_SPECIFIC_OPTIONS
select ARCH_RAMSTAGE_X86_32
select HAVE_HARD_RESET
select RELOCATABLE_MODULES
select NO_RELOCATABLE_RAMSTAGE
select PARALLEL_MP
select SMP
select IOAPIC