提交 633fdab0 编写于 作者: K Kever Yang 提交者: Simon Glass

rk3399: Reserve space for ARM Trust Firmware

RK3399 needs reserve 0x200000 at the beginning of DRAM, for ATF bl31.
Signed-off-by: NKever Yang <kever.yang@rock-chips.com>
Acked-by: NSimon Glass <sjg@chromium.org>
上级 b357a7f7
...@@ -21,6 +21,7 @@ int dram_init(void) ...@@ -21,6 +21,7 @@ int dram_init(void)
void dram_init_banksize(void) void dram_init_banksize(void)
{ {
gd->bd->bi_dram[0].start = 0; /* Reserve 0x200000 for ATF bl31 */
gd->bd->bi_dram[0].start = 0x200000;
gd->bd->bi_dram[0].size = 0x80000000; gd->bd->bi_dram[0].size = 0x80000000;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册