[PATCH 2/2] net: spacemit: compile k1_emac driver as built-in by default

michael.opdenacker at rootcommit.com michael.opdenacker at rootcommit.com
Fri Oct 17 03:02:26 PDT 2025


From: Michael Opdenacker <michael.opdenacker at rootcommit.com>

Supports booting boards on NFS filesystems, without going
through an initramfs.

Signed-off-by: Michael Opdenacker <michael.opdenacker at rootcommit.com>
---
 drivers/net/ethernet/spacemit/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/spacemit/Kconfig b/drivers/net/ethernet/spacemit/Kconfig
index 85ef61a9b4ef..7fe1b2a308d1 100644
--- a/drivers/net/ethernet/spacemit/Kconfig
+++ b/drivers/net/ethernet/spacemit/Kconfig
@@ -18,7 +18,7 @@ config SPACEMIT_K1_EMAC
 	depends on ARCH_SPACEMIT || COMPILE_TEST
 	depends on MFD_SYSCON
 	depends on OF
-	default m if ARCH_SPACEMIT
+	default y if ARCH_SPACEMIT
 	select PHYLIB
 	help
 	  This driver supports the Ethernet MAC in the SpacemiT K1 SoC.



More information about the linux-riscv mailing list