From: "Eric Bénard" <eric@eukrea.com>
To: s.hauer@pengutronix.de
Cc: barebox@lists.infradead.org
Subject: [PATCH 2/2] pcm043: fix wrong test
Date: Mon, 24 May 2010 12:37:52 +0200 [thread overview]
Message-ID: <1274697472-8669-2-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1274697472-8669-1-git-send-email-eric@eukrea.com>
* actually the condition will never be met
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
board/pcm043/lowlevel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/pcm043/lowlevel.c b/board/pcm043/lowlevel.c
index d4059db..9eff5a6 100644
--- a/board/pcm043/lowlevel.c
+++ b/board/pcm043/lowlevel.c
@@ -194,7 +194,7 @@ void __bare_init __naked board_init_lowlevel(void)
#ifdef CONFIG_NAND_IMX_BOOT
/* skip NAND boot if not running from NFC space */
r = get_pc();
- if (r < IMX_NFC_BASE && r > IMX_NFC_BASE + 0x800)
+ if (r < IMX_NFC_BASE || r > IMX_NFC_BASE + 0x800)
board_init_lowlevel_return();
src = (unsigned int *)IMX_NFC_BASE;
--
1.6.3.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-05-24 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-24 10:37 [PATCH 1/2] Add support for Eukrea's CPUIMX25 Eric Bénard
2010-05-24 10:37 ` Eric Bénard [this message]
2010-05-25 7:27 ` Sascha Hauer
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=1274697472-8669-2-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.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