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:
Elyes Haouas
2023-07-09 10:26:07 +02:00
committed by Felix Held
parent 0648267c1a
commit 8e9906c19a
18 changed files with 5 additions and 97 deletions

View File

@@ -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