From 8e9906c19abf91d20a75ac24cfc7bd5637c2fbb5 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 9 Jul 2023 10:26:07 +0200 Subject: treewide: Get rid of "NO_DDRx" selection Change-Id: I8fa26e7a398eee855c31a76f0f89b4111368c2a6 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/76387 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/device/dram/Kconfig | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) (limited to 'src/device/dram') diff --git a/src/device/dram/Kconfig b/src/device/dram/Kconfig index 7bb1dab50d..b9b5de4f6d 100644 --- a/src/device/dram/Kconfig +++ b/src/device/dram/Kconfig @@ -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 -- cgit v1.2.3