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:
parent
d30c129ad4
commit
7904e720d5
|
@ -227,6 +227,11 @@ config UBSAN
|
||||||
say N because it adds a small performance penalty and may abort
|
say N because it adds a small performance penalty and may abort
|
||||||
on code that happens to work in spite of the UB.
|
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
|
config RELOCATABLE_RAMSTAGE
|
||||||
depends on EARLY_CBMEM_INIT
|
depends on EARLY_CBMEM_INIT
|
||||||
bool "Build the ramstage to be relocatable in 32-bit address space."
|
bool "Build the ramstage to be relocatable in 32-bit address space."
|
||||||
|
|
|
@ -24,6 +24,7 @@ config NORTHBRIDGE_AMD_AMDFAM10
|
||||||
select PCIEXP_COMMON_CLOCK
|
select PCIEXP_COMMON_CLOCK
|
||||||
select PCIEXP_CLK_PM
|
select PCIEXP_CLK_PM
|
||||||
select PCIEXP_L1_SUB_STATE
|
select PCIEXP_L1_SUB_STATE
|
||||||
|
select NO_RELOCATABLE_RAMSTAGE
|
||||||
|
|
||||||
if NORTHBRIDGE_AMD_AMDFAM10
|
if NORTHBRIDGE_AMD_AMDFAM10
|
||||||
config AGP_APERTURE_SIZE
|
config AGP_APERTURE_SIZE
|
||||||
|
|
|
@ -2,6 +2,7 @@ config NORTHBRIDGE_AMD_LX
|
||||||
bool
|
bool
|
||||||
select GEODE_VSA
|
select GEODE_VSA
|
||||||
select LATE_CBMEM_INIT
|
select LATE_CBMEM_INIT
|
||||||
|
select NO_RELOCATABLE_RAMSTAGE
|
||||||
|
|
||||||
if NORTHBRIDGE_AMD_LX
|
if NORTHBRIDGE_AMD_LX
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ config NORTHBRIDGE_INTEL_I440BX
|
||||||
select NO_MMCONF_SUPPORT
|
select NO_MMCONF_SUPPORT
|
||||||
select HAVE_DEBUG_RAM_SETUP
|
select HAVE_DEBUG_RAM_SETUP
|
||||||
select UDELAY_IO
|
select UDELAY_IO
|
||||||
|
select NO_RELOCATABLE_RAMSTAGE
|
||||||
|
|
||||||
config SDRAMPWR_4DIMM
|
config SDRAMPWR_4DIMM
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -21,6 +21,7 @@ config NORTHBRIDGE_VIA_VX900
|
||||||
select HAVE_DEBUG_RAM_SETUP
|
select HAVE_DEBUG_RAM_SETUP
|
||||||
select HAVE_DEBUG_SMBUS
|
select HAVE_DEBUG_SMBUS
|
||||||
select HAVE_HARD_RESET
|
select HAVE_HARD_RESET
|
||||||
|
select NO_RELOCATABLE_RAMSTAGE
|
||||||
|
|
||||||
if NORTHBRIDGE_VIA_VX900
|
if NORTHBRIDGE_VIA_VX900
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||||
select HAVE_SMI_HANDLER
|
select HAVE_SMI_HANDLER
|
||||||
select HAVE_HARD_RESET
|
select HAVE_HARD_RESET
|
||||||
select RELOCATABLE_MODULES
|
select RELOCATABLE_MODULES
|
||||||
|
select NO_RELOCATABLE_RAMSTAGE
|
||||||
select PARALLEL_MP
|
select PARALLEL_MP
|
||||||
select REG_SCRIPT
|
select REG_SCRIPT
|
||||||
select SMM_TSEG
|
select SMM_TSEG
|
||||||
|
|
|
@ -14,6 +14,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||||
select ARCH_RAMSTAGE_X86_32
|
select ARCH_RAMSTAGE_X86_32
|
||||||
select HAVE_HARD_RESET
|
select HAVE_HARD_RESET
|
||||||
select RELOCATABLE_MODULES
|
select RELOCATABLE_MODULES
|
||||||
|
select NO_RELOCATABLE_RAMSTAGE
|
||||||
select PARALLEL_MP
|
select PARALLEL_MP
|
||||||
select SMP
|
select SMP
|
||||||
select IOAPIC
|
select IOAPIC
|
||||||
|
|
Loading…
Reference in New Issue