[U-Boot] [PATCH 05/18] imx: ventana: config: use explicit addr in loadscript

Tim Harvey tharvey at gateworks.com
Tue May 24 20:03:46 CEST 2016


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 at gateworks.com>
---
 include/configs/gw_ventana.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index fe81cbd..435ca0a 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -306,7 +306,7 @@
 	"script=6x_bootscript-ventana\0" \
 	"loadscript=" \
 		"if ${fsload} ${loadaddr} ${bootdir}/${script}; then " \
-			"source; " \
+			"source ${loadaddr}; " \
 		"fi\0" \
 	\
 	"uimage=uImage\0" \
-- 
1.9.1



More information about the U-Boot mailing list