diff mbox series

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

Message ID 20180731092958.24054-2-ramon.fried@gmail.com
State Accepted
Commit 9beb49061031b5b7a59360849a9fdf701a30c071
Delegated to: Tom Rini
Headers show
Series [U-Boot,v2,1/2] snapdragon: Add DRAM detection & FDT fixup | expand

Commit Message

Ramon Fried July 31, 2018, 9:29 a.m. UTC
Call the MSM DRAM detection and fixup function to support
dynamic detection of onboard memory.

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

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

Comments

Tom Rini Aug. 11, 2018, 1:46 a.m. UTC | #1
On Tue, Jul 31, 2018 at 12:29:58PM +0300, Ramon Fried wrote:

> Call the MSM DRAM detection and fixup function to support
> dynamic detection of onboard memory.
> 
> Signed-off-by: Ramon Fried <ramon.fried@gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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;
 }