]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Revert "arm: mach-k3: am62x: am625_init: Probe AM65 CPSW NUSS"
authorChintan Vankar <c-vankar@ti.com>
Thu, 31 Jul 2025 07:59:39 +0000 (13:29 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 20 Aug 2025 17:06:18 +0000 (11:06 -0600)
This reverts commit 35bddf889652081f150f60740618851b5d4817f4.

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 <c-vankar@ti.com>
arch/arm/mach-k3/am62x/am625_init.c

index a422919fab131a099b1f7786f2a84ca0a413dd38..8f4ddf597531c4aaad5d1b2a266220a02cf6d94e 100644 (file)
@@ -294,15 +294,6 @@ void board_init_f(ulong dummy)
        }
        spl_enable_cache();
 
-       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");
-       }
-
        fixup_a53_cpu_freq_by_speed_grade();
 }