[U-Boot] [PATCH 2/2] at91sam9263ek: fix 'update' script

Andreas Bießmann andreas.devel at googlemail.com
Thu Jun 28 14:32:32 CEST 2012


The old update script uses 'load_addr' which is never set. Use 'fileaddr'
instead whic his automagically set by e.g. dhcp.

Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
cc: Stelian Pop <stelian at popies.net>
---
 include/configs/at91sam9263ek.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
index 2d46502..f93a436 100644
--- a/include/configs/at91sam9263ek.h
+++ b/include/configs/at91sam9263ek.h
@@ -163,7 +163,7 @@
 	"update=" \
 		"protect off ${monitor_base} +${filesize};" \
 		"erase ${monitor_base} +${filesize};" \
-		"cp.b ${load_addr} ${monitor_base} ${filesize};" \
+		"cp.b ${fileaddr} ${monitor_base} ${filesize};" \
 		"protect on ${monitor_base} +${filesize}\0"
 
 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
-- 
1.7.10



More information about the U-Boot mailing list