configs: Remove unneeded overlay_files environment variable
authorAndrew F. Davis <afd@ti.com>
Mon, 12 Aug 2019 19:59:53 +0000 (15:59 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 20 Aug 2019 15:46:11 +0000 (11:46 -0400)
The variable 'name_overlays' serves the same purpose. Remove
'overlay_files' and use 'name_overlays' everywhere.

Signed-off-by: Andrew F. Davis <afd@ti.com>
include/configs/am65x_evm.h
include/configs/j721e_evm.h

index 1415bb1b153736e27d0113496c300f46dcb32b41..6072e4a48c8f0e3d294947537566c77075fb1f8d 100644 (file)
@@ -66,8 +66,7 @@
 #define EXTRA_ENV_AM65X_BOARD_SETTINGS                                 \
        "findfdt="                                                      \
                "setenv name_fdt k3-am654-base-board.dtb;"              \
-               "setenv fdtfile ${name_fdt};"                           \
-               "setenv overlay_files ${name_overlays}\0"               \
+               "setenv fdtfile ${name_fdt}\0"                          \
        "loadaddr=0x80080000\0"                                         \
        "fdtaddr=0x82000000\0"                                          \
        "overlayaddr=0x83000000\0"                                      \
@@ -88,7 +87,7 @@
        "get_overlay_mmc="                                              \
                "fdt address ${fdtaddr};"                               \
                "fdt resize 0x100000;"                                  \
-               "for overlay in $overlay_files;"                        \
+               "for overlay in $name_overlays;"                        \
                "do;"                                                   \
                "load mmc ${bootpart} ${overlayaddr} ${bootdir}/${overlay};"    \
                "fdt apply ${overlayaddr};"                             \
index 5b35e22c854edf63253b6ff9701659a7d4a5656d..f8d4d7bdf86306133ec84bceb2c7398f81e89b51 100644 (file)
@@ -60,9 +60,7 @@
 /* U-Boot general configuration */
 #define EXTRA_ENV_J721E_BOARD_SETTINGS                                 \
        "default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0"      \
-       "findfdt="                                                      \
-               "setenv fdtfile ${default_device_tree};"                \
-               "setenv overlay_files ${name_overlays}\0"               \
+       "findfdt=setenv fdtfile ${default_device_tree}\0"               \
        "loadaddr=0x80080000\0"                                         \
        "fdtaddr=0x82000000\0"                                          \
        "overlayaddr=0x83000000\0"                                      \
@@ -83,7 +81,7 @@
        "get_overlay_mmc="                                              \
                "fdt address ${fdtaddr};"                               \
                "fdt resize 0x100000;"                                  \
-               "for overlay in $overlay_files;"                        \
+               "for overlay in $name_overlays;"                        \
                "do;"                                                   \
                "load mmc ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && " \
                "fdt apply ${overlayaddr};"                             \