summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSinthu Raja <sinthu.raja@ti.com>2023-10-26 20:20:13 +0530
committerUdit Kumar <u-kumar1@ti.com>2023-10-30 11:57:34 +0530
commit6f13db19016f72aef7ef00db5e13cc20f4a01af1 (patch)
treed4dbe5a825f2f0ec1fda6886c2c8a8026d9cf414 /include
parent4c358e47858a340d69ce92547ece48d8cc93b99b (diff)
environment: ti: Find DTB files in dtb directories for legacy platform
The dtb directory structure had been standardized by the TI arago distribution. The TI legacy platform still using the default mmc environment from the header file. Add the directory dtb/ to the DTB search path. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/environment/ti/mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h
index 128beb2f14..09f8dccd3d 100644
--- a/include/environment/ti/mmc.h
+++ b/include/environment/ti/mmc.h
@@ -24,7 +24,7 @@
"env import -t ${loadaddr} ${filesize}\0" \
"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}\0" \
"loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
- "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
+ "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}\0" \
"envboot=mmc dev ${mmcdev}; " \
"if mmc rescan; then " \
"echo SD/MMC found on device ${mmcdev};" \