summaryrefslogtreecommitdiff
path: root/board/m5271evb/m5271evb.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-06-07 08:49:38 -0500
committerJon Loeliger <jdl@freescale.com>2006-06-07 08:49:38 -0500
commit72ed528a948b151e7be5ce03ed3d2b88a229dd0a (patch)
tree0f90590c0faf6fcc85f26f92facc653112be53e0 /board/m5271evb/m5271evb.c
parent9f37dc8cabc94aed27aec8b4c69a390c8603fd28 (diff)
parente461a24113c66747510b07930a83b0d84171a559 (diff)
downloadu-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.zip
u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.tar.gz
u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.tar.bz2
Merge branch 'master' of http://www.denx.de/git/u-boot
Diffstat (limited to 'board/m5271evb/m5271evb.c')
-rw-r--r--board/m5271evb/m5271evb.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/board/m5271evb/m5271evb.c b/board/m5271evb/m5271evb.c
index d364bd6..c26c91d 100644
--- a/board/m5271evb/m5271evb.c
+++ b/board/m5271evb/m5271evb.c
@@ -53,10 +53,9 @@ long int initdram (int board_type) {
* Check to see if the SDRAM has already been initialized
* by a run control tool
*/
- if (!(mbar_readLong(MCF_SDRAMC_DACR0) & MCF_SDRAMC_DACRn_RE))
- {
+ if (!(mbar_readLong(MCF_SDRAMC_DACR0) & MCF_SDRAMC_DACRn_RE)) {
/* Initialize DRAM Control Register: DCR */
- mbar_writeShort(MCF_SDRAMC_DCR,
+ mbar_writeShort(MCF_SDRAMC_DCR,
MCF_SDRAMC_DCR_RTIM(0x01)
| MCF_SDRAMC_DCR_RC(0x30));
@@ -74,7 +73,7 @@ long int initdram (int board_type) {
| MCF_SDRAMC_DACRn_PS(0));
/* Initialize DMR0 */
- mbar_writeLong(MCF_SDRAMC_DMR0,
+ mbar_writeLong(MCF_SDRAMC_DMR0,
MCF_SDRAMC_DMRn_BAM_16M
| MCF_SDRAMC_DMRn_V);