[U-Boot] [RFC 31/35] sunxi: Enable CLK and RESET

Jagan Teki jagan at amarulasolutions.com
Mon Jul 16 11:28:46 UTC 2018


CLK and RESET drivers are now available for most
of the Allwinner platforms, so enable in mach-sunxi/Kconfig

Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 arch/arm/mach-sunxi/Kconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index be1ff10212..1d8ef8dc91 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -126,6 +126,8 @@ endif
 
 config MACH_SUNXI_H3_H5
 	bool
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select DM_I2C
 	select DM_MMC if MMC
 	select PHY_SUN4I_USB
@@ -142,6 +144,8 @@ choice
 config MACH_SUN4I
 	bool "sun4i (Allwinner A10)"
 	select CPU_V7A
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select ARM_CORTEX_CPU_IS_UP
 	select DM_MMC if MMC
 	select DM_SCSI if SCSI
@@ -153,6 +157,8 @@ config MACH_SUN4I
 config MACH_SUN5I
 	bool "sun5i (Allwinner A13)"
 	select CPU_V7A
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select ARM_CORTEX_CPU_IS_UP
 	select DRAM_SUN4I
 	select DM_MMC if MMC
@@ -167,6 +173,8 @@ config MACH_SUN6I
 	select CPU_V7_HAS_NONSEC
 	select CPU_V7_HAS_VIRT
 	select ARCH_SUPPORT_PSCI
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select DRAM_SUN6I
 	select DM_MMC if MMC
 	select PHY_SUN4I_USB
@@ -182,6 +190,8 @@ config MACH_SUN7I
 	select CPU_V7_HAS_NONSEC
 	select CPU_V7_HAS_VIRT
 	select ARCH_SUPPORT_PSCI
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select DRAM_SUN4I
 	select DM_MMC if MMC
 	select PHY_SUN4I_USB
@@ -195,6 +205,8 @@ config MACH_SUN8I_A23
 	select CPU_V7_HAS_NONSEC
 	select CPU_V7_HAS_VIRT
 	select ARCH_SUPPORT_PSCI
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select DRAM_SUN8I_A23
 	select DM_MMC if MMC
 	select PHY_SUN4I_USB
@@ -209,6 +221,8 @@ config MACH_SUN8I_A33
 	select CPU_V7_HAS_NONSEC
 	select CPU_V7_HAS_VIRT
 	select ARCH_SUPPORT_PSCI
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select DRAM_SUN8I_A33
 	select DM_MMC if MMC
 	select PHY_SUN4I_USB
@@ -221,6 +235,8 @@ config MACH_SUN8I_A83T
 	bool "sun8i (Allwinner A83T)"
 	select CPU_V7A
 	select DM_MMC if MMC
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select DRAM_SUN8I_A83T
 	select PHY_SUN4I_USB
 	select SUNXI_GEN_SUN6I
@@ -276,6 +292,8 @@ config MACH_SUN50I
 	select ARM64
 	select DM_I2C
 	select DM_MMC if MMC
+	select CLK_SUNXI
+	select RESET_SUNXI
 	select PHY_SUN4I_USB
 	select SUNXI_DE2
 	select SUNXI_GEN_SUN6I
-- 
2.17.1



More information about the U-Boot mailing list