diff options
| author | Anshul Dalal <[email protected]> | 2026-03-06 17:32:37 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-03-23 09:15:10 -0600 |
| commit | e853610b560c072dd7207f2ccff01772aff1b748 (patch) | |
| tree | 4175fc0086a50337b5d8f62a624575a26facea63 /include | |
| parent | eb00c710508d09b2a3b9aca75dd18280f1304703 (diff) | |
include: env: ti: move board specific scripts out of ti_common
bootcmd_ti_mmc had cpsw0_qsgmii_phyinit related scripts even though this
was only relevant for the j721e/j7200 SoCs. This patch instead factors
out those scripts into a generic 'board_init' which is called as part of
bootcmd_ti_mmc.
This allows boards to more easily add custom behaviour to the ti_mmc
bootflow instead of having to modify the ti_common.env file.
Signed-off-by: Anshul Dalal <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/env/ti/ti_common.env | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/env/ti/ti_common.env b/include/env/ti/ti_common.env index a0ed83f52ac..62b93eb25c4 100644 --- a/include/env/ti/ti_common.env +++ b/include/env/ti/ti_common.env @@ -24,12 +24,10 @@ get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile} run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring} bootcmd_ti_mmc= run init_${boot}; -#if CONFIG_CMD_REMOTEPROC - if env exists do_main_cpsw0_qsgmii_phyinit; - then run main_cpsw0_qsgmii_phyinit; + if test -n ${board_init}; then + echo Running board_init ...; + run board_init; fi; - run boot_rprocs; -#endif if test ${boot_fit} -eq 1; then run get_fit_${boot}; run get_fit_overlaystring; run run_fit; else; |
