summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-06-04 10:31:14 +0200
committerWolfram Sang <w.sang@pengutronix.de>2009-06-04 10:31:14 +0200
commitc83325ff725b73220f83078d169a54bc8cb75632 (patch)
treec0ef6c84fc844e20dc1ee2ad7d5e3688cc43090f /board
parent5c928b97fbc4b73d080a24c6a8ba4d855131252b (diff)
downloadbarebox-c83325ff725b73220f83078d169a54bc8cb75632.tar.gz
barebox-c83325ff725b73220f83078d169a54bc8cb75632.tar.xz
Fix off-by-1 errors on range borders
It will never hit us here, but it's still wrong... Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'board')
-rw-r--r--board/pcm037/lowlevel_init.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/pcm037/lowlevel_init.S b/board/pcm037/lowlevel_init.S
index d05761fe6b..8b3e9f6e32 100644
--- a/board/pcm037/lowlevel_init.S
+++ b/board/pcm037/lowlevel_init.S
@@ -96,12 +96,11 @@ board_init_lowlevel:
/* Skip SDRAM initialization if we run from RAM */
cmp pc, #0x80000000
- bls 1f
+ blo 1f
cmp pc, #0x90000000
- bhi 1f
+ bhs 1f
mov pc, lr
-
1:
#if defined CONFIG_PCM037_SDRAM_BANK0_128MB