diff options
author | wdenk <wdenk> | 2004-03-14 22:25:36 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-03-14 22:25:36 +0000 |
commit | 42dfe7a1844cbad7114038aaf03828acb7a84414 (patch) | |
tree | d33893d34d2a97aa23257703733dbc9d86d48278 /board/emk | |
parent | 855a496fe9ba431772f1ff1aef21a5c001288bb0 (diff) | |
download | u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.zip u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.tar.gz u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.tar.bz2 |
Code cleanup; make several boards compile & link.
Diffstat (limited to 'board/emk')
-rw-r--r-- | board/emk/common/flash.c | 2 | ||||
-rw-r--r-- | board/emk/top5200/top5200.c | 2 |
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 |