summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorPaul Kocialkowski <[email protected]>2024-07-28 22:24:59 +0200
committerTom Rini <[email protected]>2024-08-06 18:32:45 -0600
commit5e0620f0caf1a8b445584b1b37c986703b9a9b7a (patch)
treea1856e7624a8a7d60bf0d8e0eac3e87e63fa30d8 /Kconfig
parent90312be17e75d1ca34b2340730afbf50c4384e73 (diff)
omap3: Define DRAM banks number in Kconfig instead of defconfigs
The number of DRAM banks was defined to the same value in each OMAP3 board defconfig, which is expected and hardcoded in the code. Move the common definition to the Kconfig option declaration instead. Signed-off-by: Paul Kocialkowski <[email protected]> Reviewed-by: Tom Rini <[email protected]> Tested-by: Derald D. Woods <[email protected]>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 69e8b17b793..8b7b213ffec 100644
--- a/Kconfig
+++ b/Kconfig
@@ -209,6 +209,7 @@ config ENV_VARS_UBOOT_CONFIG
config NR_DRAM_BANKS
int "Number of DRAM banks"
default 1 if ARCH_SUNXI || ARCH_OWL
+ default 2 if OMAP34XX
default 4
help
This defines the number of DRAM banks.