]> git.dujemihanovic.xyz Git - u-boot.git/commit
include: env: ti: ti_common: Run main_cpsw0_qsgmii_phyinit conditionally
authorManorit Chawdhry <m-chawdhry@ti.com>
Mon, 11 Dec 2023 10:42:09 +0000 (16:12 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 16:58:18 +0000 (11:58 -0500)
commit0d72b0f2f83b788273c40ed4a64d1adf74877726
tree7b738aa6823d2d6f78fd22774ce94082401d00a2
parentcd57cf9ac41a5ec25a0852f91f118dedfc6f7ce6
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>
include/env/ti/ti_common.env