]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arch: mach-k3: common: Remove explicit probing of CPSW driver
authorChintan Vankar <c-vankar@ti.com>
Thu, 31 Jul 2025 07:59:37 +0000 (13:29 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 20 Aug 2025 17:06:18 +0000 (11:06 -0600)
This reverts commit e58d9284850fa78d364d264087fe744717963675.

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 call CPSW driver
explicitly. Remove explicit probing of CPSW driver for AM62x.

Signed-off-by: Chintan Vankar <c-vankar@ti.com>
arch/arm/mach-k3/common.c

index f8c53b286eb778554789349fff53a2cdb0466ee0..5483ac9906cdb27dc34d5e07416423b56d439606 100644 (file)
@@ -322,17 +322,6 @@ void spl_board_prepare_for_linux(void)
 
 int misc_init_r(void)
 {
-       if (IS_ENABLED(CONFIG_TI_AM65_CPSW_NUSS)) {
-               struct udevice *dev;
-               int ret;
-
-               ret = uclass_get_device_by_driver(UCLASS_MISC,
-                                                 DM_DRIVER_GET(am65_cpsw_nuss),
-                                                 &dev);
-               if (ret)
-                       printf("Failed to probe am65_cpsw_nuss driver\n");
-       }
-
        if (IS_ENABLED(CONFIG_TI_ICSSG_PRUETH)) {
                struct udevice *dev;
                int ret;