tqma6: use imx_ddr_size
[oweals/u-boot.git] / board / tqc / tqma6 / tqma6.c
index b7f4eb76331643023be1610d474070f023c0b54e..e480d57e7dbe9c7f54929743f14e7d89003ef1f7 100644 (file)
@@ -51,7 +51,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int dram_init(void)
 {
-       gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE);
+       gd->ram_size = imx_ddr_size();
 
        return 0;
 }