[PATCH 06/11] sunxi: Select SUN8I_RSB more carefully
Andre Przywara
andre.przywara at arm.com
Thu Oct 7 18:13:12 CEST 2021
On Sat, 21 Aug 2021 18:05:14 -0500
Samuel Holland <samuel at sholland.org> wrote:
> SUN8I_RSB should not be selected by MACH_SUN8I, because the hardware
> is not present in half of those SoCs (H3/H5, R40, and V3s). Move the
> selection to the SoCs where the hardware actually exists.
Indeed, only those SoCs below have the RSB controller.
> Signed-off-by: Samuel Holland <samuel at sholland.org>
Reviewed-by: Andre Przywara <andre.przywara at arm.com>
Cheers,
Andre
> ---
>
> arch/arm/mach-sunxi/Kconfig | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index 3a1916759dc..28332008501 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -241,6 +241,7 @@ config MACH_SUN8I_A23
> select ARCH_SUPPORT_PSCI
> select DRAM_SUN8I_A23
> select PHY_SUN4I_USB
> + select SUN8I_RSB
> select SUNXI_GEN_SUN6I
> select SUPPORT_SPL
> select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
> @@ -254,6 +255,7 @@ config MACH_SUN8I_A33
> select ARCH_SUPPORT_PSCI
> select DRAM_SUN8I_A33
> select PHY_SUN4I_USB
> + select SUN8I_RSB
> select SUNXI_GEN_SUN6I
> select SUPPORT_SPL
> select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
> @@ -264,6 +266,7 @@ config MACH_SUN8I_A83T
> select CPU_V7A
> select DRAM_SUN8I_A83T
> select PHY_SUN4I_USB
> + select SUN8I_RSB
> select SUNXI_GEN_SUN6I
> select MMC_SUNXI_HAS_NEW_MODE
> select MMC_SUNXI_HAS_MODE_SWITCH
> @@ -358,7 +361,6 @@ endchoice
> # The sun8i SoCs share a lot, this helps to avoid a lot of "if A23 || A33"
> config MACH_SUN8I
> bool
> - select SUN8I_RSB
> select SUN6I_PRCM
> default y if MACH_SUN8I_A23
> default y if MACH_SUN8I_A33
More information about the U-Boot
mailing list