treewide: Get rid of "NO_DDRx" selection
Change-Id: I8fa26e7a398eee855c31a76f0f89b4111368c2a6 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76387 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
@@ -1,57 +1,31 @@
|
||||
## SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
# Short-term plan: Start adding 'USE_' and "NO_" options to each chip.
|
||||
#
|
||||
# Long-term plan: Every SoC or chipset should select the memory types they
|
||||
# use. When they all select their memory, the 'no_' options can be removed
|
||||
# and the defaults for all memory types can be set to n.
|
||||
|
||||
config NO_DDR5
|
||||
bool
|
||||
|
||||
config NO_LPDDR4
|
||||
bool
|
||||
|
||||
config NO_DDR4
|
||||
bool
|
||||
|
||||
config NO_DDR3
|
||||
bool
|
||||
|
||||
config NO_DDR2
|
||||
bool
|
||||
|
||||
config USE_DDR5
|
||||
bool
|
||||
default n if NO_DDR5
|
||||
default y
|
||||
default n
|
||||
help
|
||||
system supports DDR5 memory
|
||||
|
||||
config USE_LPDDR4
|
||||
bool
|
||||
default n if NO_LPDDR4
|
||||
default y
|
||||
default n
|
||||
help
|
||||
system supports LPDDR4 memory
|
||||
|
||||
config USE_DDR4
|
||||
bool
|
||||
default n if NO_DDR4
|
||||
default y
|
||||
default n
|
||||
help
|
||||
system supports DDR4 memory
|
||||
|
||||
config USE_DDR3
|
||||
bool
|
||||
default n if NO_DDR3
|
||||
default y
|
||||
default n
|
||||
help
|
||||
system supports DDR3 memory
|
||||
|
||||
config USE_DDR2
|
||||
bool
|
||||
default n if NO_DDR2
|
||||
default y
|
||||
default n
|
||||
help
|
||||
system supports DDR2 memory
|
||||
|
@@ -2,11 +2,7 @@
|
||||
|
||||
config NORTHBRIDGE_AMD_PI_00730F01
|
||||
bool
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select USE_DDR3
|
||||
select NO_DDR2
|
||||
|
||||
if NORTHBRIDGE_AMD_PI_00730F01
|
||||
|
||||
|
@@ -5,9 +5,4 @@ config NORTHBRIDGE_INTEL_E7505
|
||||
select NO_ECAM_MMCONF_SUPPORT
|
||||
select HAVE_DEBUG_RAM_SETUP
|
||||
select NO_CBFS_MCACHE
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select NO_DDR3
|
||||
select NO_DDR2
|
||||
select SMM_TSEG
|
||||
|
@@ -8,9 +8,6 @@ config NORTHBRIDGE_INTEL_GM45
|
||||
select INTEL_GMA_ACPI
|
||||
select INTEL_GMA_SSC_ALTERNATE_REF
|
||||
select HAVE_EXP_X86_64_SUPPORT
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select USE_DDR3
|
||||
select USE_DDR2
|
||||
|
||||
|
@@ -6,10 +6,6 @@ config NORTHBRIDGE_INTEL_HASWELL
|
||||
select CACHE_MRC_SETTINGS
|
||||
select INTEL_DDI
|
||||
select INTEL_GMA_ACPI
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR2
|
||||
select NO_DDR4
|
||||
select USE_DDR3
|
||||
|
||||
if NORTHBRIDGE_INTEL_HASWELL
|
||||
|
@@ -5,11 +5,6 @@ config NORTHBRIDGE_INTEL_I440BX
|
||||
select NO_ECAM_MMCONF_SUPPORT
|
||||
select HAVE_DEBUG_RAM_SETUP
|
||||
select NO_CBFS_MCACHE
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select NO_DDR3
|
||||
select NO_DDR2
|
||||
|
||||
config SDRAMPWR_4DIMM
|
||||
bool
|
||||
|
@@ -8,10 +8,6 @@ config NORTHBRIDGE_INTEL_I945
|
||||
select INTEL_GMA_SSC_ALTERNATE_REF
|
||||
select INTEL_EDID
|
||||
select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select NO_DDR3
|
||||
select USE_DDR2
|
||||
|
||||
if NORTHBRIDGE_INTEL_I945
|
||||
|
@@ -8,10 +8,6 @@ config NORTHBRIDGE_INTEL_IRONLAKE
|
||||
select INTEL_GMA_ACPI
|
||||
select CACHE_MRC_SETTINGS
|
||||
select HAVE_DEBUG_RAM_SETUP
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select NO_DDR2
|
||||
select USE_DDR3
|
||||
|
||||
if NORTHBRIDGE_INTEL_IRONLAKE
|
||||
|
@@ -8,9 +8,6 @@ config NORTHBRIDGE_INTEL_PINEVIEW
|
||||
select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select INTEL_EDID if MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select INTEL_GMA_ACPI
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select USE_DDR3
|
||||
select USE_DDR2
|
||||
|
||||
|
@@ -6,10 +6,6 @@ config NORTHBRIDGE_INTEL_SANDYBRIDGE
|
||||
select CPU_INTEL_MODEL_206AX
|
||||
select HAVE_DEBUG_RAM_SETUP
|
||||
select INTEL_GMA_ACPI
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select NO_DDR2
|
||||
select USE_DDR3
|
||||
|
||||
if NORTHBRIDGE_INTEL_SANDYBRIDGE
|
||||
|
@@ -8,9 +8,6 @@ config NORTHBRIDGE_INTEL_X4X
|
||||
select CACHE_MRC_SETTINGS
|
||||
select BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES
|
||||
select HAVE_EXP_X86_64_SUPPORT
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select USE_DDR3
|
||||
select USE_DDR2
|
||||
|
||||
|
@@ -17,9 +17,6 @@ config SOC_AMD_CEZANNE
|
||||
select HAVE_FSP_GOP
|
||||
select HAVE_SMI_HANDLER
|
||||
select IDT_IN_EVERY_STAGE
|
||||
select NO_DDR5
|
||||
select NO_DDR3
|
||||
select NO_DDR2
|
||||
select PARALLEL_MP_AP_WORK
|
||||
select PLATFORM_USES_FSP2_0
|
||||
select PROVIDES_ROM_SHARING
|
||||
|
@@ -20,10 +20,6 @@ config SOC_AMD_GLINDA
|
||||
select HAVE_FSP_GOP
|
||||
select HAVE_SMI_HANDLER
|
||||
select IDT_IN_EVERY_STAGE
|
||||
select NO_DDR4
|
||||
select NO_DDR3
|
||||
select NO_DDR2
|
||||
select NO_LPDDR4
|
||||
select PARALLEL_MP_AP_WORK
|
||||
select PLATFORM_USES_FSP2_0
|
||||
select PROVIDES_ROM_SHARING
|
||||
|
@@ -18,10 +18,6 @@ config SOC_AMD_REMBRANDT_BASE
|
||||
select HAVE_FSP_GOP
|
||||
select HAVE_SMI_HANDLER
|
||||
select IDT_IN_EVERY_STAGE
|
||||
select NO_DDR4
|
||||
select NO_DDR3
|
||||
select NO_DDR2
|
||||
select NO_LPDDR4
|
||||
select PARALLEL_MP_AP_WORK
|
||||
select PLATFORM_USES_FSP2_0
|
||||
select PROVIDES_ROM_SHARING
|
||||
|
@@ -21,10 +21,6 @@ config SOC_AMD_PHOENIX
|
||||
select HAVE_FSP_GOP
|
||||
select HAVE_SMI_HANDLER
|
||||
select IDT_IN_EVERY_STAGE
|
||||
select NO_DDR4
|
||||
select NO_DDR3
|
||||
select NO_DDR2
|
||||
select NO_LPDDR4
|
||||
select PARALLEL_MP_AP_WORK
|
||||
select PLATFORM_USES_FSP2_0
|
||||
select PROVIDES_ROM_SHARING
|
||||
|
@@ -16,10 +16,6 @@ config SOC_AMD_PICASSO
|
||||
select HAVE_EM100_SUPPORT
|
||||
select HAVE_SMI_HANDLER
|
||||
select IDT_IN_EVERY_STAGE
|
||||
select NO_DDR5
|
||||
select NO_DDR3
|
||||
select NO_DDR2
|
||||
select NO_LPDDR4
|
||||
select PARALLEL_MP_AP_WORK
|
||||
select PLATFORM_USES_FSP2_0
|
||||
select PROVIDES_ROM_SHARING
|
||||
|
@@ -11,10 +11,6 @@ config SOC_AMD_STONEYRIDGE
|
||||
select HAVE_CF9_RESET
|
||||
select HAVE_SMI_HANDLER
|
||||
select HAVE_USBDEBUG_OPTIONS
|
||||
select NO_DDR5
|
||||
select NO_DDR3
|
||||
select NO_DDR2
|
||||
select NO_LPDDR4
|
||||
select PARALLEL_MP_AP_WORK
|
||||
select RTC
|
||||
select SOC_AMD_PI
|
||||
|
@@ -37,11 +37,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||
select CPU_INTEL_COMMON
|
||||
select CPU_HAS_L2_ENABLE_MSR
|
||||
select TCO_SPACE_NOT_YET_SPLIT
|
||||
select NO_DDR5
|
||||
select NO_LPDDR4
|
||||
select NO_DDR4
|
||||
select USE_DDR3
|
||||
select NO_DDR2
|
||||
|
||||
config VBOOT
|
||||
select VBOOT_MUST_REQUEST_DISPLAY
|
||||
|
Reference in New Issue
Block a user