diff mbox series

[net] net: stmmac: build the dwmac-socfpga platform driver for Stratix10

Message ID 1535469560-2304-1-git-send-email-dinguyen@kernel.org
State Accepted, archived
Delegated to: David Miller
Headers show
Series [net] net: stmmac: build the dwmac-socfpga platform driver for Stratix10 | expand

Commit Message

Dinh Nguyen Aug. 28, 2018, 3:19 p.m. UTC
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>
---
 drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Miller Aug. 30, 2018, 2:40 a.m. UTC | #1
From: Dinh Nguyen <dinguyen@kernel.org>
Date: Tue, 28 Aug 2018 10:19:20 -0500

> 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>

Applied, thank you.
diff mbox series

Patch

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