net: stmmac: build the dwmac-socfpga platform driver for Stratix10
authorDinh Nguyen <dinguyen@kernel.org>
Tue, 28 Aug 2018 15:19:20 +0000 (10:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2018 02:39:53 +0000 (19:39 -0700)
The Stratix10 SoC is an AARCH64 based platform that shares the same ethernet
controller that is on other SoCFPGA platforms. Build the platform driver.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/Kconfig

index bf4acebb6bcddd8807041a75c000251bbc28f19d..324049eebb9b140a1ca9a2c65de1eaf82048d263 100644 (file)
@@ -110,7 +110,7 @@ config DWMAC_ROCKCHIP
 
 config DWMAC_SOCFPGA
        tristate "SOCFPGA dwmac support"
-       default ARCH_SOCFPGA
+       default (ARCH_SOCFPGA || ARCH_STRATIX10)
        depends on OF && (ARCH_SOCFPGA || ARCH_STRATIX10 || COMPILE_TEST)
        select MFD_SYSCON
        help