[PATCH 1/2] ARM: bcm: Add selects for the Cortex-A7 BCMBCA

William Zhang william.zhang at broadcom.com
Wed Sep 18 18:04:43 PDT 2024


Hi Linus,

On 09/17/2024 12:18 PM, Linus Walleij wrote:
> The Cortex-A7 versions of BCMBCA have most of the stuff
> that the Cortex-A9 version has and it can be selected
> independently with the Cortex-A9 disabled, so make sure
> it will also select all needed features.
> 
Did you use the multi_v7_defconfig? I tested all the BCMBCA
A7 chips and there is no extra config needed if use the
multi_v7 config.

BTW, ARM_GLOBAL_TIMER, HAVE_ARM_TWD and HAVE_ARM_SCU do not
apply to A7.  A7 has integrated L2 controller and does not
need this external CACHE_L2X0 config.
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
>   arch/arm/mach-bcm/Kconfig | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
> index 7318d8789e24..39d1d713efe0 100644
> --- a/arch/arm/mach-bcm/Kconfig
> +++ b/arch/arm/mach-bcm/Kconfig
> @@ -217,6 +217,11 @@ if ARCH_BCMBCA
>   
>   config ARCH_BCMBCA_CORTEXA7
>   	bool "Cortex-A7 SoCs"
> +	select ARCH_HAS_RESET_CONTROLLER
> +	select ARM_GLOBAL_TIMER
> +	select CACHE_L2X0
> +	select HAVE_ARM_TWD if SMP
> +	select HAVE_ARM_SCU if SMP
>   	help
>   	  Say Y if you intend to run the kernel on a Broadcom Broadband ARM A7
>   	  based chipset.
> 



More information about the linux-arm-kernel mailing list