summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-21 13:50:13 -0400
committerTom Rini <trini@konsulko.com>2021-08-31 17:46:37 -0400
commit5b527c505f7d42c2ebba6192b0d55cbea257daa9 (patch)
treee8ce608f2f3656c882e81652bf5d38f9ab62602b /arch/arm
parent8897bf42889955f5a2a078099dac5b0b8efa18c0 (diff)
downloadu-boot-5b527c505f7d42c2ebba6192b0d55cbea257daa9.tar.gz
u-boot-5b527c505f7d42c2ebba6192b0d55cbea257daa9.tar.bz2
u-boot-5b527c505f7d42c2ebba6192b0d55cbea257daa9.zip
mvebu: Migrate CONFIG_DDR_32BIT/64BIT to Kconfig
Move CONFIG_DDR_32BIT/64BIT to Kconfig as a choice for Armada XP platforms. Make 64bit the default as this mirrors the current code. Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-mvebu/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 89737a37ad..1daa64763b 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -184,6 +184,19 @@ config TARGET_CRS3XX_98DX3236
endchoice
+choice
+ prompt "DDR bus width"
+ default DDR_64BIT
+ depends on ARMADA_XP
+
+config DDR_64BIT
+ bool "64bit bus width"
+
+config DDR_32BIT
+ bool "32bit bus width"
+
+endchoice
+
config SYS_BOARD
default "clearfog" if TARGET_CLEARFOG
default "helios4" if TARGET_HELIOS4