summaryrefslogtreecommitdiff
path: root/board/eNET/eNET_start16.S
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:45 +1100
committerGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:45 +1100
commit420c7c054bb14b79a4722a6f78fc5ccd202c6df6 (patch)
treeb111fa83828154c38c257e51084233eb09f49855 /board/eNET/eNET_start16.S
parent218310018a9d24db76cbfd6aa9441d3b7c8b72b7 (diff)
downloadu-boot-imx-420c7c054bb14b79a4722a6f78fc5ccd202c6df6.zip
u-boot-imx-420c7c054bb14b79a4722a6f78fc5ccd202c6df6.tar.gz
u-boot-imx-420c7c054bb14b79a4722a6f78fc5ccd202c6df6.tar.bz2
eNET: Define MMCR values in config.h
Diffstat (limited to 'board/eNET/eNET_start16.S')
-rw-r--r--board/eNET/eNET_start16.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/eNET/eNET_start16.S b/board/eNET/eNET_start16.S
index 183309c..4835936 100644
--- a/board/eNET/eNET_start16.S
+++ b/board/eNET/eNET_start16.S
@@ -29,6 +29,7 @@
/* #include <asm/ic/sc520_defs.h> */
+#include "config.h"
#include "hardware.h"
#include <asm/ic/sc520.h>
@@ -48,12 +49,12 @@ board_init16:
/* Map PAR for Boot Flash (BOOTCS, 512kB @ 0x380000000) */
movl $(SC520_PAR14 - SC520_MMCR_BASE), %edi
- movl $0x8bfff800, %eax /* TODO: Check this */
+ movl $CONFIG_SYS_SC520_BOOTCS_PAR, %eax
movl %eax, (%di)
/* Map PAR for LED, Hex Switches (GPCS6, 20 Bytes @ 0x1000) */
movl $(SC520_PAR15 - SC520_MMCR_BASE), %edi
- movl $0x38201000, %eax
+ movl $CONFIG_SYS_SC520_LLIO_PAR, %eax
movl %eax, (%di)
/* Disable SDRAM write buffer */