From b6d7810e5c13ecb12323625be7932eeb5bea9d7d Mon Sep 17 00:00:00 2001 From: Markus Niebel Date: Tue, 18 Nov 2014 13:22:57 +0100 Subject: [PATCH] tqma6: use imx_ddr_size Signed-off-by: Markus Niebel --- board/tqc/tqma6/tqma6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5