From: Chintan Vankar Date: Thu, 31 Jul 2025 07:59:38 +0000 (+0530) Subject: Revert "mach-k3: am642_init: Probe AM65 CPSW NUSS for R5/A53 SPL" X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3967d64740b69cda6b2642036bfb9269b05a7e35;p=thirdparty%2Fu-boot.git Revert "mach-k3: am642_init: Probe AM65 CPSW NUSS for R5/A53 SPL" This reverts commit 93c43a8365fae0f188ac091d129542470ddaf62d. Bind method of "am65_cpsw_nuss" driver will ensure binding of it's child driver "am65_cpsw_nuss_ports", and there is no need to probe CPSW driver explicitly. Signed-off-by: Chintan Vankar --- diff --git a/arch/arm/mach-k3/am64x/am642_init.c b/arch/arm/mach-k3/am64x/am642_init.c index 41812b7dbf7..219798315db 100644 --- a/arch/arm/mach-k3/am64x/am642_init.c +++ b/arch/arm/mach-k3/am64x/am642_init.c @@ -263,13 +263,6 @@ void board_init_f(ulong dummy) if (ret) panic("DRAM init failed: %d\n", ret); #endif - if (IS_ENABLED(CONFIG_SPL_ETH) && IS_ENABLED(CONFIG_TI_AM65_CPSW_NUSS) && - spl_boot_device() == BOOT_DEVICE_ETHERNET) { - struct udevice *cpswdev; - - if (uclass_get_device_by_driver(UCLASS_MISC, DM_DRIVER_GET(am65_cpsw_nuss), &cpswdev)) - printf("Failed to probe am65_cpsw_nuss driver\n"); - } } u32 spl_mmc_boot_mode(struct mmc *mmc, const u32 boot_device)