]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include: env: ti_common: Remove findfdt from bootcmd_ti_mmc
authorDhruva Gole <d-gole@ti.com>
Tue, 2 Jul 2024 05:20:04 +0000 (10:50 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 16 Jul 2024 19:01:46 +0000 (13:01 -0600)
findfdt is used by bootcmd_ti_mmc by default which used to help populate
the fdtfile. The users of findfdt from bootcmd_ti_mmc have migrated to
ti_set_fdt_env for populating fdtfile; Hence, findfdt can be removed from
bootcmd_ti_mmc having no-impact for any platform.

Remove findfdt to not print out the warning that gets set after calling
ti_set_fdt_env. viz.
"echo WARN: fdtfile already set. Stop using findfdt in script"

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
include/env/ti/ti_common.env

index c5c36421770c47fc34795a858d22f339863648b9..7029d12bf203320fde859965ae57c272ed4c685c 100644 (file)
@@ -25,7 +25,7 @@ get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile}
 run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
 do_main_cpsw0_qsgmii_phyinit=0
 bootcmd_ti_mmc=
-       run findfdt; run init_${boot};
+       run init_${boot};
 #if CONFIG_CMD_REMOTEPROC
        if test ${do_main_cpsw0_qsgmii_phyinit} -eq 1;
                then run main_cpsw0_qsgmii_phyinit;