Re: [PATCH net-next v3 6/6] net: ftgmac100: Allow building on ARM64

From: Andrew Lunn

Date: Fri Oct 16 2026 - 17:07:11 EST


On Thu, Oct 15, 2026 at 02:46:58PM +0800, Jacky Chou wrote:
> Allow the Faraday vendor menu and FTGMAC100 driver to be selected on
> ARM64 so AST2700 platforms can enable the MAC. The driver now programs
> the upper DMA address fields, so it no longer needs to be marked BROKEN
> for 64-bit builds.
>
> AST2700 has no dedicated MACH_ASPEED_G7 symbol; unlike the 32-bit
> generations it is only gated by the common ARCH_ASPEED symbol. On
> 32-bit Aspeed platforms, arch/arm/mach-aspeed/Kconfig nests
> MACH_ASPEED_G4/G5/G6 under "if ARCH_ASPEED", so MACH_ASPEED_G6 already
> implies ARCH_ASPEED and is redundant once ARCH_ASPEED is part of the
> condition. Drop it and select MDIO_ASPEED directly on ARCH_ASPEED.
>
> This does widen the MDIO_ASPEED select beyond AST2600: it is now also
> selected for AST2400/AST2500, which keep driving their embedded MDIO
> controller from FTGMAC100 itself and have no MDIO node for this driver
> to bind to, so it is built but stays unused there. Update the
> MDIO_ASPEED help text to describe this.
>
> Signed-off-by: Jacky Chou <jacky_chou@xxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew