summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sunxi/Kconfig
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-01-10 16:15:14 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-03-19 16:46:41 +0530
commitaf30393cb55db5605f187f270001dd459ac1aaf0 (patch)
tree117a191f401a25125d226cb434f9393bbd186375 /arch/arm/mach-sunxi/Kconfig
parent7d0b165d5ec570dfbd9ce52140df562f399501b1 (diff)
downloadu-boot-af30393cb55db5605f187f270001dd459ac1aaf0.tar.gz
sunxi: Add DRAM_SUN8I_A23 kconfig entry
Add proper and simple kconfig option for dram_sun8i_a23.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/mach-sunxi/Kconfig')
-rw-r--r--arch/arm/mach-sunxi/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index b4684de5eb..5e4f616eb8 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -18,6 +18,12 @@ config DRAM_SUN6I
Select this dram controller driver for Sun6i platforms,
like A31/A31s.
+config DRAM_SUN8I_A23
+ bool
+ help
+ Select this dram controller driver for Sun8i platforms,
+ for A23 SOC.
+
config DRAM_SUN9I
bool
help
@@ -163,6 +169,7 @@ config MACH_SUN8I_A23
select CPU_V7_HAS_NONSEC
select CPU_V7_HAS_VIRT
select ARCH_SUPPORT_PSCI
+ select DRAM_SUN8I_A23
select SUNXI_GEN_SUN6I
select SUPPORT_SPL
select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT