]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
at91sam9263ek: fix 'update' script
authorAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 28 Jun 2012 02:32:32 +0000 (02:32 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 15:06:13 +0000 (17:06 +0200)
The old update script uses 'load_addr' which is never set. Use 'fileaddr'
instead which is automagically set by e.g. dhcp.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
cc: Stelian Pop <stelian@popies.net>

include/configs/at91sam9263ek.h

index 73af3aff8ab09d7c93cfeb2699760c4c8f548abb..9421b5373ceb091f78d0a9644c418c492868ac6e 100644 (file)
        "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