diff options
author | wdenk <wdenk> | 2002-11-03 17:56:27 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2002-11-03 17:56:27 +0000 |
commit | 24ee89b97a49826ea800b4a6c0d5c0769328e317 (patch) | |
tree | 82805272a9e85958f93167e10a5c08c886679cb9 /board/csb226/memsetup.S | |
parent | de180e6daa529dc78668c99bdf17a9cdd440782d (diff) | |
download | u-boot-imx-24ee89b97a49826ea800b4a6c0d5c0769328e317.zip u-boot-imx-24ee89b97a49826ea800b4a6c0d5c0769328e317.tar.gz u-boot-imx-24ee89b97a49826ea800b4a6c0d5c0769328e317.tar.bz2 |
* Fix mdelay() on TRAB - this was still the debugging version with
seconds instead of ms.
* Patch by Robert Schwebel, 1 Nov 2002:
XScale related cleanup (affects all ARM boards)
* Cleanup of names, warnings, and README.
Diffstat (limited to 'board/csb226/memsetup.S')
-rw-r--r-- | board/csb226/memsetup.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/csb226/memsetup.S b/board/csb226/memsetup.S index 5a584c1..d34ead4 100644 --- a/board/csb226/memsetup.S +++ b/board/csb226/memsetup.S @@ -232,7 +232,7 @@ mem_init: ldr r4, =0x03ca4fff str r4, [r1, #MDREFR_OFFSET] /* write back MDREFR */ - ldr r4, [r1, #MDREFR_OFFSET] + ldr r4, [r1, #MDREFR_OFFSET] ldr r4, =0x03ca4030 str r4, [r1, #MDREFR_OFFSET] /* write back MDREFR */ @@ -261,7 +261,7 @@ mem_init: /* Step 4a: assert MDREFR:K1RUN and MDREFR:K2RUN and configure */ /* MDREFR:K1DB2 and MDREFR:K2DB2 as desired. */ - orr r4, r4, #(MDREFR_K1RUN|MDREFR_K2RUN|MDREFR_K0RUN) + orr r4, r4, #(MDREFR_K1RUN|MDREFR_K0RUN) str r4, [r1, #MDREFR_OFFSET] /* write back MDREFR */ ldr r4, [r1, #MDREFR_OFFSET] @@ -286,7 +286,7 @@ mem_init: /* Step 4d: write MDCNFG with MDCNFG:DEx deasserted (set to 0), to */ /* configure but not enable each SDRAM partition pair. */ - ldr r4, [r1, #MDCNFG_OFFSET] + ldr r4, =CFG_MDCNFG_VAL bic r4, r4, #(MDCNFG_DE0|MDCNFG_DE1) str r4, [r1, #MDCNFG_OFFSET] /* write back MDCNFG */ |