[U-Boot] [PATCH v2 2/2] db410c: Fixup DRAM

Ramon Fried ramon.fried at gmail.com
Tue Jul 31 09:29:58 UTC 2018


Call the MSM DRAM detection and fixup function to support
dynamic detection of onboard memory.

Signed-off-by: Ramon Fried <ramon.fried at gmail.com>
---
v2: fixed compiler warning introduced because missing include

 board/qualcomm/dragonboard410c/dragonboard410c.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c b/board/qualcomm/dragonboard410c/dragonboard410c.c
index e7ead57f0d..4f0b999e50 100644
--- a/board/qualcomm/dragonboard410c/dragonboard410c.c
+++ b/board/qualcomm/dragonboard410c/dragonboard410c.c
@@ -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;
 }
 
-- 
2.18.0



More information about the U-Boot mailing list