From 01e2544d22cda48cc619c965c5427fe7de8dcb31 Mon Sep 17 00:00:00 2001 From: Siddharth Vadapalli Date: Mon, 3 Jul 2023 13:05:47 +0530 Subject: [PATCH] arm: mach-k3: am625_init: Fix SPL_ETH config The config SPL_ETH_SUPPORT is not defined. The correct config is SPL_ETH. Fix it. Fixes: e56107ff97b4 ("arm: mach-k3: am625_init: Probe AM65 CPSW NUSS") Signed-off-by: Siddharth Vadapalli --- arch/arm/mach-k3/am625_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/am625_init.c b/arch/arm/mach-k3/am625_init.c index 1488df8a57..d5d741cb93 100644 --- a/arch/arm/mach-k3/am625_init.c +++ b/arch/arm/mach-k3/am625_init.c @@ -213,7 +213,7 @@ void board_init_f(ulong dummy) panic("DRAM init failed: %d\n", ret); #endif - if (IS_ENABLED(CONFIG_SPL_ETH_SUPPORT) && IS_ENABLED(CONFIG_TI_AM65_CPSW_NUSS) && + if (IS_ENABLED(CONFIG_SPL_ETH) && IS_ENABLED(CONFIG_TI_AM65_CPSW_NUSS) && spl_boot_device() == BOOT_DEVICE_ETHERNET) { struct udevice *cpswdev;