public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] at91sam9263ek: fix 'update' script
Date: Thu, 28 Jun 2012 14:32:32 +0200	[thread overview]
Message-ID: <1340886752-31199-2-git-send-email-andreas.devel@googlemail.com> (raw)
In-Reply-To: <1340886752-31199-1-git-send-email-andreas.devel@googlemail.com>

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

  reply	other threads:[~2012-06-28 12:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-28 12:32 [U-Boot] [PATCH 1/2] at91sam9263ek: enable useful commands Andreas Bießmann
2012-06-28 12:32 ` Andreas Bießmann [this message]
2012-07-09 11:23 ` Andreas Bießmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340886752-31199-2-git-send-email-andreas.devel@googlemail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox