summaryrefslogtreecommitdiff
path: root/board/freescale/m548xevb/m548xevb.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-10-21 23:36:40 +0200
committerWolfgang Denk <wd@denx.de>2011-10-21 23:36:40 +0200
commitf82c087e60fe1c59ace1c6f016eb89c5d3c3ae13 (patch)
tree84f49f79333f7bfa222bb607925d79e6c45ffc44 /board/freescale/m548xevb/m548xevb.c
parent1b81f017b04b5a176f5f9230ec979f0f3c55ba5b (diff)
parentf6ef7428ed6ce694e6d86410c116f8c48af33d27 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-coldfire
* 'master' of git://git.denx.de/u-boot-coldfire: ColdFire: Clean Makefile _config rules ColdFire: Move boards with simple _config rules to boards.cfg ColdFire: Fix compilation with CONFIG_SYS_DRAMSZ1 defined ColdFire: Merge differentiated linking files into a sigle one by board ColdFire: Add $(obj) before cpu lib to correct build ColdFire: Cleanup lds files for multiple defined symbols
Diffstat (limited to 'board/freescale/m548xevb/m548xevb.c')
-rw-r--r--board/freescale/m548xevb/m548xevb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/m548xevb/m548xevb.c b/board/freescale/m548xevb/m548xevb.c
index 4a2a5c78fb..fbc0888320 100644
--- a/board/freescale/m548xevb/m548xevb.c
+++ b/board/freescale/m548xevb/m548xevb.c
@@ -43,6 +43,9 @@ phys_size_t initdram(int board_type)
volatile siu_t *siu = (siu_t *) (MMAP_SIU);
volatile sdram_t *sdram = (volatile sdram_t *)(MMAP_SDRAM);
u32 dramsize, i;
+#ifdef CONFIG_SYS_DRAMSZ1
+ u32 temp;
+#endif
siu->drv = CONFIG_SYS_SDRAM_DRVSTRENGTH;