]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include: env: ti: add default for do_main_cpsw0_qsgmii_phyinit
authorManorit Chawdhry <m-chawdhry@ti.com>
Mon, 8 Jan 2024 08:18:49 +0000 (13:48 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jan 2024 22:50:27 +0000 (17:50 -0500)
By default this variable is unset and this causes the test condition to
fail on devices that don't have this defined. Set a default value for
this.

   => boot
   ## Error: "main_cpsw0_qsgmii_phyinit" not defined
   [...]

Fixes: 0d72b0f2f83b ("include: env: ti: ti_common: Run main_cpsw0_qsgmii_phyinit conditionally")
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
include/env/ti/ti_common.env

index 5473f633aa7d14cc7048cd4126c555d4fb37c148..02b410c3adc4255fdc4cbd7ab5853d495756fce0 100644 (file)
@@ -22,6 +22,7 @@ get_fit_overlaystring=
        done;
 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};
 #if CONFIG_CMD_REMOTEPROC