mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: defconfig: Build STMMAC Ethernet driver into the kernel for NFS boot
@ 2025-05-06 10:47 Prabhakar
  2025-05-06 10:52 ` Krzysztof Kozlowski
  2025-05-23 11:39 ` Geert Uytterhoeven
  0 siblings, 2 replies; 12+ messages in thread
From: Prabhakar @ 2025-05-06 10:47 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Bjorn Andersson,
	Geert Uytterhoeven, Krzysztof Kozlowski
  Cc: linux-arm-kernel, linux-kernel, linux-renesas-soc, Prabhakar,
	Biju Das, Fabrizio Castro, Lad Prabhakar

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Enable `CONFIG_STMMAC_ETH` as built-in (`y`) instead of a module (`m`) to
ensure the Ethernet driver is available early in the boot process. This
is necessary for platforms mounting the root filesystem via NFS, as the
driver must be available before the root filesystem is accessed.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
With this change, the Renesas RZ/V2H EVK board can boot from NFS
which has the DWMAC IP.
---
 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2dd75c799848..38d1c2ff3aa9 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -379,7 +379,7 @@ CONFIG_SMC91X=y
 CONFIG_SMSC911X=y
 CONFIG_SNI_AVE=y
 CONFIG_SNI_NETSEC=y
-CONFIG_STMMAC_ETH=m
+CONFIG_STMMAC_ETH=y
 CONFIG_DWMAC_MEDIATEK=m
 CONFIG_DWMAC_TEGRA=m
 CONFIG_TI_K3_AM65_CPSW_NUSS=y
-- 
2.49.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-06-19 15:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-06 10:47 [PATCH] arm64: defconfig: Build STMMAC Ethernet driver into the kernel for NFS boot Prabhakar
2025-05-06 10:52 ` Krzysztof Kozlowski
2025-05-06 11:12   ` Lad, Prabhakar
2025-05-06 12:42   ` Geert Uytterhoeven
2025-05-06 13:14     ` Krzysztof Kozlowski
2025-05-23 11:39 ` Geert Uytterhoeven
2025-05-23 11:54   ` Krzysztof Kozlowski
2025-06-12 12:20     ` Jon Hunter
2025-06-12 12:34       ` Geert Uytterhoeven
2025-06-12 13:15         ` Krzysztof Kozlowski
2025-06-12 14:30         ` Thierry Reding
2025-06-19 15:07           ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®