mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 08:35:38 +00:00
include: env: ti: ti_common: Run main_cpsw0_qsgmii_phyinit conditionally
The main_cpsw0_qsgmii_phyinit command is defined only for certain TI SoCs which have the do_main_cpsw0_qsgmii_phyinit variable set. Add a check to ensure that the main_cpsw0_qsgmii_phyinit command is run only for such SoCs. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
This commit is contained in:
parent
cd57cf9ac4
commit
0d72b0f2f8
1 changed files with 4 additions and 1 deletions
5
include/env/ti/ti_common.env
vendored
5
include/env/ti/ti_common.env
vendored
|
@ -25,7 +25,10 @@ run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
|
||||||
bootcmd_ti_mmc=
|
bootcmd_ti_mmc=
|
||||||
run findfdt; run init_${boot};
|
run findfdt; run init_${boot};
|
||||||
#if CONFIG_CMD_REMOTEPROC
|
#if CONFIG_CMD_REMOTEPROC
|
||||||
run main_cpsw0_qsgmii_phyinit; run boot_rprocs;
|
if test ${do_main_cpsw0_qsgmii_phyinit} -eq 1;
|
||||||
|
then run main_cpsw0_qsgmii_phyinit;
|
||||||
|
fi
|
||||||
|
run boot_rprocs;
|
||||||
#endif
|
#endif
|
||||||
if test ${boot_fit} -eq 1;
|
if test ${boot_fit} -eq 1;
|
||||||
then run get_fit_${boot}; run get_fit_overlaystring; run run_fit;
|
then run get_fit_${boot}; run get_fit_overlaystring; run run_fit;
|
||||||
|
|
Loading…
Add table
Reference in a new issue