summaryrefslogtreecommitdiff
path: root/board/emk/top5200/top5200.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/emk/top5200/top5200.c')
-rw-r--r--board/emk/top5200/top5200.c2
1 files changed, 1 insertions, 1 deletions
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