[U-Boot] [PATCH v6 15/20] sunxi: Enable CLK
André Przywara
andre.przywara at arm.com
Fri Jan 11 00:09:15 UTC 2019
On 10/01/2019 18:40, Jagan Teki wrote:
> CLK and DM_RESET drivers are now available for most
> of the Allwinner platforms, so enable in mach-sunxi/Kconfig
>
> Enabling CLK will select DM_RESET by default.
Shame we don't have the new A80 DTs in our tree, otherwise we would have
got away with a one-liner instead ...
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
Reviewed-by: Andre Przywara <andre.przywara at arm.com>
Cheers,
Andre.
> ---
> arch/arm/mach-sunxi/Kconfig | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index 3c54f5106d..5f51bbbed0 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -132,6 +132,7 @@ endif
>
> config MACH_SUNXI_H3_H5
> bool
> + select CLK
> select DM_I2C
> select PHY_SUN4I_USB
> select SUNXI_DE2
> @@ -154,6 +155,7 @@ config MACH_SUN4I
> bool "sun4i (Allwinner A10)"
> select CPU_V7A
> select ARM_CORTEX_CPU_IS_UP
> + select CLK
> select DM_MMC if MMC
> select DM_SCSI if SCSI
> select PHY_SUN4I_USB
> @@ -165,6 +167,7 @@ config MACH_SUN5I
> bool "sun5i (Allwinner A13)"
> select CPU_V7A
> select ARM_CORTEX_CPU_IS_UP
> + select CLK
> select DRAM_SUN4I
> select PHY_SUN4I_USB
> select SUNXI_GEN_SUN4I
> @@ -177,6 +180,7 @@ config MACH_SUN6I
> select CPU_V7_HAS_NONSEC
> select CPU_V7_HAS_VIRT
> select ARCH_SUPPORT_PSCI
> + select CLK
> select DRAM_SUN6I
> select PHY_SUN4I_USB
> select SUN6I_P2WI
> @@ -191,6 +195,7 @@ config MACH_SUN7I
> select CPU_V7_HAS_NONSEC
> select CPU_V7_HAS_VIRT
> select ARCH_SUPPORT_PSCI
> + select CLK
> select DRAM_SUN4I
> select PHY_SUN4I_USB
> select SUNXI_GEN_SUN4I
> @@ -203,6 +208,7 @@ config MACH_SUN8I_A23
> select CPU_V7_HAS_NONSEC
> select CPU_V7_HAS_VIRT
> select ARCH_SUPPORT_PSCI
> + select CLK
> select DRAM_SUN8I_A23
> select PHY_SUN4I_USB
> select SUNXI_GEN_SUN6I
> @@ -216,6 +222,7 @@ config MACH_SUN8I_A33
> select CPU_V7_HAS_NONSEC
> select CPU_V7_HAS_VIRT
> select ARCH_SUPPORT_PSCI
> + select CLK
> select DRAM_SUN8I_A33
> select PHY_SUN4I_USB
> select SUNXI_GEN_SUN6I
> @@ -226,6 +233,7 @@ config MACH_SUN8I_A33
> config MACH_SUN8I_A83T
> bool "sun8i (Allwinner A83T)"
> select CPU_V7A
> + select CLK
> select DRAM_SUN8I_A83T
> select PHY_SUN4I_USB
> select SUNXI_GEN_SUN6I
> @@ -248,6 +256,7 @@ config MACH_SUN8I_R40
> select CPU_V7_HAS_NONSEC
> select CPU_V7_HAS_VIRT
> select ARCH_SUPPORT_PSCI
> + select CLK
> select SUNXI_GEN_SUN6I
> select SUPPORT_SPL
> select SUNXI_DRAM_DW
> @@ -259,6 +268,7 @@ config MACH_SUN8I_V3S
> select CPU_V7_HAS_NONSEC
> select CPU_V7_HAS_VIRT
> select ARCH_SUPPORT_PSCI
> + select CLK
> select SUNXI_GEN_SUN6I
> select SUNXI_DRAM_DW
> select SUNXI_DRAM_DW_16BIT
> @@ -277,6 +287,7 @@ config MACH_SUN9I
> config MACH_SUN50I
> bool "sun50i (Allwinner A64)"
> select ARM64
> + select CLK
> select DM_I2C
> select PHY_SUN4I_USB
> select SUN6I_PRCM
> @@ -300,6 +311,7 @@ config MACH_SUN50I_H5
> config MACH_SUN50I_H6
> bool "sun50i (Allwinner H6)"
> select ARM64
> + select CLK
> select SUPPORT_SPL
> select FIT
> select SPL_LOAD_FIT
>
More information about the U-Boot
mailing list