tqma6: use imx_ddr_size
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Tue, 18 Nov 2014 12:22:57 +0000 (13:22 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 20 Nov 2014 09:30:21 +0000 (10:30 +0100)
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
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;
 }