public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] rk3399: reseve space for trust
@ 2016-07-22  9:34 Kever Yang
  2016-07-23  2:57 ` Simon Glass
  0 siblings, 1 reply; 4+ messages in thread
From: Kever Yang @ 2016-07-22  9:34 UTC (permalink / raw)
  To: u-boot

rk3399 need reserve 0x200000 at the begining of DRAM, for ATF usage.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

 board/rockchip/evb_rk3399/evb-rk3399.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c b/board/rockchip/evb_rk3399/evb-rk3399.c
index dffacd0..37d3851 100644
--- a/board/rockchip/evb_rk3399/evb-rk3399.c
+++ b/board/rockchip/evb_rk3399/evb-rk3399.c
@@ -21,6 +21,7 @@ int dram_init(void)
 
 void dram_init_banksize(void)
 {
-	gd->bd->bi_dram[0].start = 0;
+	/* Reserve 0x200000 for trust word */
+	gd->bd->bi_dram[0].start = 0x200000;
 	gd->bd->bi_dram[0].size = 0x80000000;
 }
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-25  2:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22  9:34 [U-Boot] [PATCH] rk3399: reseve space for trust Kever Yang
2016-07-23  2:57 ` Simon Glass
2016-07-23  3:03   ` Simon Glass
2016-07-25  2:00     ` Kever Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox