Pārlūkot izejas kodu

at91sam9263ek: fix 'update' script

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>
Andreas Bießmann 13 gadi atpakaļ
vecāks
revīzija
88461f164e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/configs/at91sam9263ek.h

+ 1 - 1
include/configs/at91sam9263ek.h

@@ -164,7 +164,7 @@
 	"update=" \
 	"update=" \
 		"protect off ${monitor_base} +${filesize};" \
 		"protect off ${monitor_base} +${filesize};" \
 		"erase ${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"
 		"protect on ${monitor_base} +${filesize}\0"
 
 
 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
 #ifndef CONFIG_SKIP_LOWLEVEL_INIT