summaryrefslogtreecommitdiff
path: root/board/emk
diff options
context:
space:
mode:
Diffstat (limited to 'board/emk')
-rw-r--r--board/emk/common/flash.c2
-rw-r--r--board/emk/top5200/top5200.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/emk/common/flash.c b/board/emk/common/flash.c
index 966bb5c..28fe29d 100644
--- a/board/emk/common/flash.c
+++ b/board/emk/common/flash.c
@@ -353,7 +353,7 @@ ulong flash_get_size (FPWV *addr, flash_info_t *info)
}
break;
}
-
+
/* fall thru to here ! */
default:
printf ("unknown AMD device=%x %x %x",
diff --git a/board/emk/top5200/top5200.c b/board/emk/top5200/top5200.c
index 94ba2b4..63a4ee4 100644
--- a/board/emk/top5200/top5200.c
+++ b/board/emk/top5200/top5200.c
@@ -57,7 +57,7 @@ long int initdram (int board_type)
*(vu_long *)MPC5XXX_SDRAM_CTRL = CFG_DRAM_CONTROL | MODE_EN;
/* precharge all banks */
*(vu_long *)MPC5XXX_SDRAM_CTRL = CFG_DRAM_CONTROL | MODE_EN | SOFT_PRE;
-#if CFG_DRAM_DDR
+#ifdef CFG_DRAM_DDR
/* set extended mode register */
*(vu_short *)MPC5XXX_SDRAM_MODE = CFG_DRAM_EMODE;
#endif