[PATCH 4/5] env: ti: mmc.env: Fix overlays directory path

Manorit Chawdhry m-chawdhry at ti.com
Tue Jul 25 09:39:21 CEST 2023


From: Vignesh Raghavendra <vigneshr at ti.com>

Similar to get_fdt_mmc make get_overlays_mmc look at /boot/dtb/* path
for overlay files.

Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry at ti.com>
---
 include/environment/ti/mmc.env | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/environment/ti/mmc.env b/include/environment/ti/mmc.env
index c0c8854bbd00..6fb47fb26673 100644
--- a/include/environment/ti/mmc.env
+++ b/include/environment/ti/mmc.env
@@ -66,7 +66,7 @@ get_overlay_mmc=
 	fdt resize 0x100000;
 	for overlay in $name_overlays;
 	do;
-	load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} &&
+	load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} &&
 	fdt apply ${dtboaddr};
 	done;
 get_kern_mmc=load mmc ${bootpart} ${loadaddr}

-- 
2.41.0



More information about the U-Boot mailing list