]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Revert "mach-k3: am642_init: Probe AM65 CPSW NUSS for R5/A53 SPL"
authorChintan Vankar <c-vankar@ti.com>
Thu, 31 Jul 2025 07:59:38 +0000 (13:29 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 20 Aug 2025 17:06:18 +0000 (11:06 -0600)
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 <c-vankar@ti.com>
arch/arm/mach-k3/am64x/am642_init.c

index 41812b7dbf74fa3fc0510911e7a00b57dca63679..219798315db0ca5cf5a1901de2dd8ed023522b30 100644 (file)
@@ -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)