Browse Source

mxs: spl_mem_init: Remove erroneous DDR setting

On mx23 there is no 'DRAM init complete' in register HW_DRAM_CTL18.

Remove this erroneous setting.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Fabio Estevam 12 năm trước cách đây
mục cha
commit
b0d4bf9f0c
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c

+ 0 - 4
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c

@@ -279,10 +279,6 @@ static void mx23_mem_init(void)
 
 	setbits_le32(MXS_DRAM_BASE + 0x40, 1 << 19);
 	setbits_le32(MXS_DRAM_BASE + 0x40, 1 << 11);
-
-	/* Wait for bit 10 (DRAM init complete) in DRAM_CTL18 */
-	while (!(readl(MXS_DRAM_BASE + 0x48) & (1 << 10)))
-		;
 }
 #endif