summaryrefslogtreecommitdiff
path: root/board/lpc2292sodimm/lowlevel_init.S
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2007-01-30 00:50:40 +0100
committerWolfgang Denk <wd@denx.de>2007-01-30 00:50:40 +0100
commitf8db84f132b1e335f20f96138a1f09ed97b08664 (patch)
treedd31c4563cb6fb067f1d44f64e2ffca7f9b3ec13 /board/lpc2292sodimm/lowlevel_init.S
parent6bd2447ee47ee23c18d2b3c7ccd5a20f7626f5b3 (diff)
downloadu-boot-imx-f8db84f132b1e335f20f96138a1f09ed97b08664.zip
u-boot-imx-f8db84f132b1e335f20f96138a1f09ed97b08664.tar.gz
u-boot-imx-f8db84f132b1e335f20f96138a1f09ed97b08664.tar.bz2
LPC2292 SODIMM port coding style cleanup.
Diffstat (limited to 'board/lpc2292sodimm/lowlevel_init.S')
-rw-r--r--board/lpc2292sodimm/lowlevel_init.S16
1 files changed, 8 insertions, 8 deletions
diff --git a/board/lpc2292sodimm/lowlevel_init.S b/board/lpc2292sodimm/lowlevel_init.S
index a91e678..a0e9747 100644
--- a/board/lpc2292sodimm/lowlevel_init.S
+++ b/board/lpc2292sodimm/lowlevel_init.S
@@ -27,10 +27,10 @@
#define SRAM_SIZE 0x00004000
#define BCFG0_VALUE 0x1000ffef
#define BCFG1_VALUE 0x10001C61
-
+
_TEXT_BASE:
.word TEXT_BASE
-MEMMAP_ADR:
+MEMMAP_ADR:
.word MEMMAP
BCFG0_ADR:
.word BCFG0
@@ -69,19 +69,19 @@ lowlevel_init:
and r1, r1, r2
orr r1, r1, r3
str r1, [r0]
-
+
/* move vectors to beginning of SRAM */
- mov r2, #SRAM_START
+ mov r2, #SRAM_START
mov r0, #0 /*_start*/
- ldmneia r0!, {r3-r10}
- stmneia r2!, {r3-r10}
+ ldmneia r0!, {r3-r10}
+ stmneia r2!, {r3-r10}
ldmneia r0, {r3-r9}
stmneia r2, {r3-r9}
- /* Set-up MEMMAP register, so vectors are taken from SRAM */
+ /* Set-up MEMMAP register, so vectors are taken from SRAM */
ldr r0, MEMMAP_ADR
mov r1, #0x02 /* vectors re-mapped to static RAM */
str r1, [r0]
-
+
/* everything is fine now */
mov pc, lr