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-van...@ti.com>
---

This patch is newly introduced in this series.

 arch/arm/mach-k3/am64x/am642_init.c | 7 -------
 1 file changed, 7 deletions(-)

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)
-- 
2.34.1

Reply via email to