AST2700 is a ARM 64-bit SoC and ftgmac100 adds support 64-bit DMA capability in AST2700. The ftgmac100 on Aspeed Soc 6th generation and above seperates MDIO controller from MAC. It cannot add ARCH_ASPEED_G7 configuration at ARM64, so here changes to select MDIO_ASPEED by ARCH_ARCH_ASPEED for Aspeed 6th generation and above. And remove not 64BIT and BROKEN dependency from FTGMAC100 config. These are added for NDS32 architecture and now this NDS32 support has been removed. Therefore, here does not need it anymore. The ftgmac100 of AST2700 supports 64-bit operation, '!BIT64' dependency will limit 64-bit support. Signed-off-by: Jacky Chou <jacky_chou@xxxxxxxxxxxxxx> --- drivers/net/ethernet/faraday/Kconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/faraday/Kconfig b/drivers/net/ethernet/faraday/Kconfig index c699bd6bcbb9..c765663c0bbb 100644 --- a/drivers/net/ethernet/faraday/Kconfig +++ b/drivers/net/ethernet/faraday/Kconfig @@ -6,7 +6,7 @@ config NET_VENDOR_FARADAY bool "Faraday devices" default y - depends on ARM || COMPILE_TEST + depends on ARM || ARM64 || COMPILE_TEST help If you have a network (Ethernet) card belonging to this class, say Y. @@ -28,10 +28,9 @@ config FTMAC100 config FTGMAC100 tristate "Faraday FTGMAC100 Gigabit Ethernet support" - depends on ARM || COMPILE_TEST - depends on !64BIT || BROKEN + depends on ARM || ARM64 || COMPILE_TEST select PHYLIB - select MDIO_ASPEED if MACH_ASPEED_G6 + select MDIO_ASPEED if ARCH_ASPEED select CRC32 help This driver supports the FTGMAC100 Gigabit Ethernet controller -- 2.25.1