From: Markus Niebel Date: Tue, 18 Nov 2014 12:22:57 +0000 (+0100) Subject: tqma6: use imx_ddr_size X-Git-Tag: v2015.01-rc2~3^2~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6d7810e5c13ecb12323625be7932eeb5bea9d7d;p=u-boot tqma6: use imx_ddr_size Signed-off-by: Markus Niebel --- diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index b7f4eb7633..e480d57e7d 100644 --- a/board/tqc/tqma6/tqma6.c +++ b/board/tqc/tqma6/tqma6.c @@ -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; }