[PATCH 1/2] include: env: ti: mmc.h: Find DTB files in dtb directory for AM57xx

Anurag Dutta a-dutta at ti.com
Fri Apr 25 07:34:30 CEST 2025


Add dtb/ to the DTB search path.

Signed-off-by: Anurag Dutta <a-dutta at ti.com>
---
 include/env/ti/mmc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/env/ti/mmc.h b/include/env/ti/mmc.h
index dbb0e3559ea..968d6ec03dc 100644
--- a/include/env/ti/mmc.h
+++ b/include/env/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};" \
-- 
2.34.1



More information about the U-Boot mailing list