aboutsummaryrefslogtreecommitdiff
path: root/include/env
diff options
context:
space:
mode:
authorManorit Chawdhry <m-chawdhry@ti.com>2024-07-02 10:50:03 +0530
committerTom Rini <trini@konsulko.com>2024-07-16 13:01:46 -0600
commitbc2d846af7adece28d31d7a72d06d9b94369ab08 (patch)
tree40e9f78146f2a27e2ec1b3cec64e5b53894dc549 /include/env
parent5dca95af2b03d87af4267248f5259fad7f9f7cd2 (diff)
downloadu-boot-bc2d846af7adece28d31d7a72d06d9b94369ab08.zip
u-boot-bc2d846af7adece28d31d7a72d06d9b94369ab08.tar.gz
u-boot-bc2d846af7adece28d31d7a72d06d9b94369ab08.tar.bz2
include: env: ti: mmc: Change name_fdt usage to fdtfile
name_fdt is kept for backward compatibility but it depends on EEPROM detection logic and some of the TI K3 platforms don't have that anymore which causes boot failure in legacy boot flow using bootcmd_ti_mmc. K2g platforms which uses the same file have their own override causing this change to be no-impact for them. Replacing name_fdt usage to fdtfile as fdtfile is populated based on CONFIG_DEFAULT_DEVICE_TREE after using ti_set_fdt_env. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Diffstat (limited to 'include/env')
-rw-r--r--include/env/ti/mmc.env2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/env/ti/mmc.env b/include/env/ti/mmc.env
index 0256a2d..037a090 100644
--- a/include/env/ti/mmc.env
+++ b/include/env/ti/mmc.env
@@ -16,7 +16,7 @@ importbootenv=echo Importing environment from mmc${mmcdev} ...;
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}
-get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/dtb/${name_fdt}
+get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}
envboot=if mmc dev ${mmcdev}; then
if mmc rescan; then
echo SD/MMC found on device ${mmcdev};