summaryrefslogtreecommitdiff
path: root/board/r5200/r5200.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-05-10 17:43:20 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-05-10 17:43:20 +0200
commit977b50f86824fe3c262ef7efce5dbb7ddaf8a48f (patch)
tree1f53f30c933465a99788e554007ab98982cd196f /board/r5200/r5200.c
parent278bc4b37fabba61209fab8704c75f4fa80cc6fa (diff)
Minor cleanup.
Diffstat (limited to 'board/r5200/r5200.c')
-rw-r--r--board/r5200/r5200.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/r5200/r5200.c b/board/r5200/r5200.c
index e51ad252f3..69f3a765b6 100644
--- a/board/r5200/r5200.c
+++ b/board/r5200/r5200.c
@@ -47,8 +47,7 @@ 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
*/
@@ -67,7 +66,7 @@ long int initdram (int board_type) {
/*
* Initialize DMR0
*/
- mbar_writeLong(MCF_SDRAMC_DMR0,
+ mbar_writeLong(MCF_SDRAMC_DMR0,
MCF_SDRAMC_DMRn_BAM_8M
| MCF_SDRAMC_DMRn_V);