[PATCH] arm64: make ARCH_BCM4908 select ARCH_BCMBCA

William Zhang william.zhang at broadcom.com
Wed Jul 13 23:35:12 PDT 2022


On 7/13/22 21:58, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
>
> BCA is a big set / family of devices sharing multiple hardware blocks.
> It covers BCM4908, BCM63xx, BCM68xx devices and more.
>
> Most of drivers that depend on ARCH_BCM4908 should actually depend on
> ARCH_BCMBCA. To make such transition easier, cleaner and breakage-free
> add a proper "select".
>
> Later on - if we decide to keep ARCH_BCM4908 - it may be moved under
> ARCH_BCMBCA menu. Keeping it may be helpful for limited compiling of DTS
> files and "default" Kconfig entires. Or we may just decide to drop it.
>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
>   arch/arm64/Kconfig.platforms | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 88ddc2e5b152..7fea6955944e 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -49,6 +49,7 @@ config ARCH_BCM2835
>
>   config ARCH_BCM4908
>       bool "Broadcom BCM4908 family"
> +     select ARCH_BCMBCA
>       select GPIOLIB
>       help
>         This enables support for the Broadcom BCM4906, BCM4908 and
Thank you Rafal for adding this!  Our proposal is to replace with BCMBCA (and I
have a WIP patchset for that). Agree there are pros and cons using
single general config versus individual chip config(we have 15 BCA chip
now in the kernel) as you and Florian were discussing in another
thread. But we feel
single config has more advantage as it can produce the same image to
test all the chips and it is easier to maintain.  That is why we moved BCM63138
ARCH_BCM_63XX to ARCH_BCMBCA.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4212 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220713/d2b1f73f/attachment-0001.p7s>


More information about the linux-arm-kernel mailing list