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 fe81cbd..435ca0a 100644 (file)
        "script=6x_bootscript-ventana\0" \
        "loadscript=" \
                "if ${fsload} ${loadaddr} ${bootdir}/${script}; then " \
-                       "source; " \
+                       "source ${loadaddr}; " \
                "fi\0" \
        \
        "uimage=uImage\0" \