]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ti: Fix usage of undefined variable overlay_files
authorSuman Anna <s-anna@ti.com>
Fri, 24 Apr 2020 18:39:52 +0000 (13:39 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Sat, 9 May 2020 14:27:59 +0000 (19:57 +0530)
The env variable overlay_files is used while adding the environment
support commands for FIT loading, but it was cleaned up just prior in
commit ee53b59511a6 ("configs: Remove unneeded overlay_files environment
variable"). Fix this by replacing the undefined variable with the
proper name_overlays env variable.

Fixes: 76470b6929d5 ("configs: ti: Add environment support commands for FIT loading")
Signed-off-by: Suman Anna <s-anna@ti.com>
include/configs/ti_armv7_common.h

index a612bb5b4a8e99b8c7b861078019ff6779de0057..08829781e314e649695e941ffc6c4d4afa26397d 100644 (file)
@@ -63,7 +63,7 @@
        "name_fit=fitImage\0" \
        "update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}\0" \
        "get_overlaystring=" \
-               "for overlay in $overlay_files;" \
+               "for overlay in $name_overlays;" \
                "do;" \
                "setenv overlaystring ${overlaystring}'#'${overlay};" \
                "done;\0" \