summaryrefslogtreecommitdiff
path: root/board/zylonite/lowlevel_init.S
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2006-04-25 16:48:48 +0200
committerMarkus Klotzbuecher <mk@pollux.denx.de>2006-04-25 16:48:48 +0200
commit7c93b2443cce08dc9093d47bbaf11c45f7cde9c3 (patch)
tree65da0fa97eb0e8717233735c95eb95374dcda3fb /board/zylonite/lowlevel_init.S
parent71ae411a63a32aad5151bc2e1d9c0aeff97edaa8 (diff)
downloadu-boot-imx-7c93b2443cce08dc9093d47bbaf11c45f7cde9c3.zip
u-boot-imx-7c93b2443cce08dc9093d47bbaf11c45f7cde9c3.tar.gz
u-boot-imx-7c93b2443cce08dc9093d47bbaf11c45f7cde9c3.tar.bz2
NAND support for zylonite board + some minor cleanup.
Diffstat (limited to 'board/zylonite/lowlevel_init.S')
-rw-r--r--board/zylonite/lowlevel_init.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/zylonite/lowlevel_init.S b/board/zylonite/lowlevel_init.S
index c3bb4eb..da01765 100644
--- a/board/zylonite/lowlevel_init.S
+++ b/board/zylonite/lowlevel_init.S
@@ -235,6 +235,7 @@ mem_init:
orr r1, r1, #0x40000000 @ enable SDRAM for Normal Access
str r1, [r0]
+#ifndef CFG_SKIP_DRAM_SCRUB
/* scrub/init SDRAM if enabled/present */
/* ldr r11, =0xa0000000 /\* base address of SDRAM (CFG_DRAM_BASE) *\/ */
/* ldr r12, =0x04000000 /\* size of memory to scrub (CFG_DRAM_SIZE) *\/ */
@@ -254,6 +255,7 @@ mem_init:
stmia r8!, {r0-r7}
beq 15f
b 10b
+#endif /* CFG_SKIP_DRAM_SCRUB */
15:
/* Mask all interrupts */