From: Ramon Fried <ramon.fried@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] db410c: Fixup DRAM
Date: Tue, 31 Jul 2018 12:29:58 +0300 [thread overview]
Message-ID: <20180731092958.24054-2-ramon.fried@gmail.com> (raw)
In-Reply-To: <20180731092958.24054-1-ramon.fried@gmail.com>
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(+)
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
next prev parent reply other threads:[~2018-07-31 9:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-31 9:29 [U-Boot] [PATCH v2 1/2] snapdragon: Add DRAM detection & FDT fixup Ramon Fried
2018-07-31 9:29 ` Ramon Fried [this message]
2018-08-11 1:46 ` [U-Boot] [U-Boot,v2,2/2] db410c: Fixup DRAM Tom Rini
2018-08-11 1:46 ` [U-Boot] [U-Boot, v2, 1/2] snapdragon: Add DRAM detection & FDT fixup Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180731092958.24054-2-ramon.fried@gmail.com \
--to=ramon.fried@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox