]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
env: ti: mmc.env: Fix overlays directory path
authorVignesh Raghavendra <vigneshr@ti.com>
Tue, 25 Jul 2023 07:39:21 +0000 (13:09 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 28 Jul 2023 14:11:01 +0000 (10:11 -0400)
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>
include/environment/ti/mmc.env

index c0c8854bbd00293dfd66c1f586c1ee0b8e16fde7..6fb47fb266738e2876fa8b20e58755221860695d 100644 (file)
@@ -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}