浏览代码

ColdFire: Fix second memory Chipselect for M5475EVB

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: John Rigby <jrigby@freescale.com>
TsiChung Liew 17 年之前
父节点
当前提交
77878f16ce
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      board/freescale/m547xevb/m547xevb.c

+ 3 - 0
board/freescale/m547xevb/m547xevb.c

@@ -43,6 +43,9 @@ long int 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 CFG_DRAMSZ1
+	u32 temp;
+#endif
 
 	siu->drv = CFG_SDRAM_DRVSTRENGTH;