summaryrefslogtreecommitdiff
path: root/cpu/ixp/start.S
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-01-09 17:12:27 +0000
committerwdenk <wdenk>2005-01-09 17:12:27 +0000
commita1191902cab72b9f7127365fac39a1e1d5c9abda (patch)
tree2baffb8ff9c965e0bdaaa4f047a4a3b21aff27a3 /cpu/ixp/start.S
parent15c7a8efd2f7275e5b3249aac305f2598a998645 (diff)
downloadu-boot-imx-a1191902cab72b9f7127365fac39a1e1d5c9abda.zip
u-boot-imx-a1191902cab72b9f7127365fac39a1e1d5c9abda.tar.gz
u-boot-imx-a1191902cab72b9f7127365fac39a1e1d5c9abda.tar.bz2
* Patch by Jon Loeliger, 02 Sep 2004:
Reset monitor size back to 256 so environment can be written to flash on MPC85xx ADS and CDS releases. * Patch by Paolo Broggini, 02 Sep 2004: Make BSS clearing on ARM systems more robust * Patch by Yue Hu and Joe, 01 Sep 2004: - add PCI support for ixp425; - add EEPRO100 suppor tfor ixdp425 board. * Fix problem with protected sector detection in driver/cfi_flash.c
Diffstat (limited to 'cpu/ixp/start.S')
-rw-r--r--cpu/ixp/start.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpu/ixp/start.S b/cpu/ixp/start.S
index 9240b5c..3b3c868 100644
--- a/cpu/ixp/start.S
+++ b/cpu/ixp/start.S
@@ -159,11 +159,12 @@ reset:
str r1, [r2]
/* make sure flash is visible at 0 */
+#if 0
ldr r2, =IXP425_EXP_CFG0
ldr r1, [r2]
orr r1, r1, #0x80000000
str r1, [r2]
-
+#endif
mov r1, #CFG_SDR_CONFIG
ldr r2, =IXP425_SDR_CONFIG
str r1, [r2]
@@ -198,7 +199,7 @@ reset:
bne 111b
/* set mode register in sdram */
- mov r1, #1
+ mov r1, #CFG_SDR_MODE_CONFIG
str r1, [r4]
DELAY_FOR 0x4000, r0
@@ -295,7 +296,7 @@ clear_bss:
clbss_l:str r2, [r0] /* clear loop... */
add r0, r0, #4
cmp r0, r1
- bne clbss_l
+ ble clbss_l
ldr pc, _start_armboot