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.de...@googlemail.com>
cc: Stelian Pop <stel...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to