Re: [RFC v2 3/5] arm64: socfpga: rename ARCH_STRATIX10 to ARCH_SOCFPGA64

From: Tom Rix
Date: Wed Mar 10 2021 - 09:46:52 EST



On 3/10/21 1:45 AM, Lee Jones wrote:
> On Wed, 10 Mar 2021, Krzysztof Kozlowski wrote:
>
>> Prepare for merging Stratix 10, Agilex and N5X into one arm64
>> architecture by first renaming the ARCH_STRATIX10 into ARCH_SOCFPGA64.
>>
>> The existing ARCH_SOCFPGA (in ARMv7) Kconfig symbol cannot be used
>> because altera_edac driver builds differently between them (with
>> ifdefs).
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
>> ---
>> arch/arm64/Kconfig.platforms | 7 ++++---
>> arch/arm64/boot/dts/altera/Makefile | 2 +-
>> arch/arm64/configs/defconfig | 2 +-
>> drivers/clk/Makefile | 2 +-
>> drivers/clk/socfpga/Kconfig | 4 ++--
>> drivers/edac/Kconfig | 2 +-
>> drivers/edac/altera_edac.c | 10 +++++-----
>> drivers/firmware/Kconfig | 2 +-
>> drivers/fpga/Kconfig | 2 +-
>> drivers/mfd/Kconfig | 2 +-
> If it's okay with everyone else, it'll be okay with me:
>
> Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

I think the name is too broad, from the description in the config

+ bool "Intel's SoCFPGA ARMv8 Families"

A better name would be ARCH_INTEL_SOCFPGA64

So other vendors like Xilinx could do their own thing.

Tom

>
>> drivers/net/ethernet/stmicro/stmmac/Kconfig | 4 ++--
>> drivers/reset/Kconfig | 2 +-
>> 12 files changed, 21 insertions(+), 20 deletions(-)