]> git.sur5r.net Git - u-boot/commitdiff
configs: k2g_evm: Make findfdt command populate fdtfile variable
authorAndrew F. Davis <afd@ti.com>
Wed, 20 Sep 2017 19:45:09 +0000 (14:45 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 29 Sep 2017 18:07:56 +0000 (14:07 -0400)
On all other platforms the command 'findfdt' populates the variable
'fdtfile', but on K2G we only populate 'name_fdt'. The generic boot
and automation scripts fail when 'findfdt' is not populated, fix
this for K2G.

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

index 195074040573009a47c06728c0a91d5b860178f6..df81c09d8636e95e10e8324d5c972b01b972ca9e 100644 (file)
@@ -38,7 +38,7 @@
                         "setenv name_fdt keystone-k2g-ice.dtb; " \
                "else if test $name_fdt = undefined; then " \
                        "echo WARNING: Could not determine device tree to use;"\
-               "fi;fi;fi;\0" \
+               "fi;fi;fi; setenv fdtfile ${name_fdt}\0" \
        "name_mon=skern-k2g.bin\0"                                      \
        "name_ubi=k2g-evm-ubifs.ubi\0"                                  \
        "name_uboot=u-boot-spi-k2g-evm.gph\0"                           \