[linux-yocto] [PATCH 2/8] net: stmmac: build the dwmac-socfpga platform driver for Stratix10

Meng.Li at windriver.com Meng.Li at windriver.com
Thu Nov 22 01:08:46 PST 2018


From: Dinh Nguyen <dinguyen at kernel.org>

commit 57124cfbec9909ccdb5f805e5eeb5095ed85767c from
https://github.com/altera-opensource/linux-socfpga.git

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 at kernel.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Meng Li <Meng.Li at windriver.com>
---
 drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig
index edf2036..a14085b 100644
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -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
-- 
2.7.4



More information about the linux-yocto mailing list