db410c: Fixup DRAM
authorRamon Fried <ramon.fried@gmail.com>
Tue, 31 Jul 2018 09:29:58 +0000 (12:29 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 10 Aug 2018 17:45:35 +0000 (13:45 -0400)
Call the MSM DRAM detection and fixup function to support
dynamic detection of onboard memory.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
board/qualcomm/dragonboard410c/dragonboard410c.c

index e7ead57f0dac313caab6ace495cee64be4f379bd..4f0b999e508fe3dcdc53805e4078a28c46252405 100644 (file)
@@ -10,6 +10,7 @@
 #include <usb.h>
 #include <asm/gpio.h>
 #include <fdt_support.h>
+#include <asm/arch/dram.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -180,6 +181,8 @@ int ft_board_setup(void *blob, bd_t *bd)
                                           fix[i].property, mac, ARP_HLEN, 1);
        }
 
+       msm_fixup_memory(blob);
+
        return 0;
 }