]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
imx: ventana: config: use explicit addr in loadscript
authorTim Harvey <tharvey@gateworks.com>
Tue, 24 May 2016 18:03:46 +0000 (11:03 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 31 May 2016 15:23:10 +0000 (17:23 +0200)
If we are loading a script to ${loadaddr} then we need to use that address
explicitly when calling the source command in case user has changed loadaddr

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
include/configs/gw_ventana.h

index fe81cbdadec9cf80d85589220548349157ec574c..435ca0af21d92f913e415b4d566cb0b7542dfa78 100644 (file)
        "script=6x_bootscript-ventana\0" \
        "loadscript=" \
                "if ${fsload} ${loadaddr} ${bootdir}/${script}; then " \
-                       "source; " \
+                       "source ${loadaddr}; " \
                "fi\0" \
        \
        "uimage=uImage\0" \