diff options
author | Peter Pearse <peter.pearse@arm.com> | 2007-11-15 08:45:13 +0000 |
---|---|---|
committer | Peter Pearse <peter.pearse@arm.com> | 2007-11-15 08:45:13 +0000 |
commit | 2db916e14410e3ec1738508c7bf4dfeb2b299ae7 (patch) | |
tree | eaa4610ac316473776e51a96fac09c2c008824f9 /board/apollon/lowlevel_init.S | |
parent | dd28e10d9429fcc8ffb532698bda8f3ead674d96 (diff) | |
download | u-boot-imx-2db916e14410e3ec1738508c7bf4dfeb2b299ae7.zip u-boot-imx-2db916e14410e3ec1738508c7bf4dfeb2b299ae7.tar.gz u-boot-imx-2db916e14410e3ec1738508c7bf4dfeb2b299ae7.tar.bz2 |
Correction patch
Diffstat (limited to 'board/apollon/lowlevel_init.S')
-rw-r--r-- | board/apollon/lowlevel_init.S | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/board/apollon/lowlevel_init.S b/board/apollon/lowlevel_init.S index 7676259..f254428 100644 --- a/board/apollon/lowlevel_init.S +++ b/board/apollon/lowlevel_init.S @@ -34,13 +34,13 @@ #define APOLLON_CS0_BASE 0x00000000 #ifdef PRCM_CONFIG_I -# define SDRC_ACTIM_CTRLA_0_VAL 0x7BA35907 -# define SDRC_ACTIM_CTRLB_0_VAL 0x00000013 -# define SDRC_RFR_CTRL_0_VAL 0x00044C01 +#define SDRC_ACTIM_CTRLA_0_VAL 0x7BA35907 +#define SDRC_ACTIM_CTRLB_0_VAL 0x00000013 +#define SDRC_RFR_CTRL_0_VAL 0x00044C01 #elif defined(PRCM_CONFIG_II) -# define SDRC_ACTIM_CTRLA_0_VAL 0x4A59B485 -# define SDRC_ACTIM_CTRLB_0_VAL 0x0000000C -# define SDRC_RFR_CTRL_0_VAL 0x00030001 +#define SDRC_ACTIM_CTRLA_0_VAL 0x4A59B485 +#define SDRC_ACTIM_CTRLB_0_VAL 0x0000000C +#define SDRC_RFR_CTRL_0_VAL 0x00030001 #endif #define SDRAM_BASE_ADDRESS 0x80008000 @@ -56,7 +56,7 @@ lowlevel_init: mov r0, pc, lsr #28 cmp r0, #8 beq prcm_setup - + flash_setup: /* In Flash */ ldr r0, =WD2_BASE @@ -203,7 +203,7 @@ prcm_setup: ldr r1, =0x00000002 str r1, [r0, #0x340] - + ldr r1, =CM_CLKSEL1_CORE #ifdef PRCM_CONFIG_I ldr r2, =0x08300C44 @@ -211,7 +211,7 @@ prcm_setup: ldr r2, =0x04600C26 #endif str r2, [r1] - + ldr r0, =OMAP2420_CM_BASE ldr r1, [r0, #0x084] and r1, r1, #0x01 |