env: ti: mmc.env: Fix overlays directory path
Similar to get_fdt_mmc make get_overlays_mmc look at /boot/dtb/* path
for overlay files.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Reviewed-by: Nikhil M Jain <n-jain1@ti.com>
diff --git a/include/environment/ti/mmc.env b/include/environment/ti/mmc.env
index c0c8854..6fb47fb 100644
--- a/include/environment/ti/mmc.env
+++ b/include/environment/ti/mmc.env
@@ -66,7 +66,7 @@
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}