]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Kconfig: Migrate CONFIG_NR_DRAM_BANKS
authorRamon Fried <ramon.fried@gmail.com>
Mon, 13 Aug 2018 22:00:04 +0000 (01:00 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 16 Aug 2018 20:45:02 +0000 (16:45 -0400)
Move CONFIG_NR_DRAM_BANKS from headers to Kconfig.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Kconfig

diff --git a/Kconfig b/Kconfig
index db0f545e459b006a382f720991608ec89de72441..d96e3373c198bb7b74b0363e507bb2033b12d14d 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -104,6 +104,12 @@ config ENV_VARS_UBOOT_CONFIG
          - CONFIG_SYS_VENDOR
          - CONFIG_SYS_SOC
 
+config NR_DRAM_BANKS
+       int "Number of DRAM banks"
+       default 4
+       help
+         This defines the number of DRAM banks.
+
 config SYS_BOOT_GET_CMDLINE
        bool "Enable kernel command line setup"
        help