rk3399: Reserve space for ARM Trust Firmware

RK3399 needs reserve 0x200000 at the beginning of DRAM, for ATF bl31.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Kever Yang 2016-07-25 11:45:54 +08:00 committed by Simon Glass
parent b357a7f752
commit 633fdab0cb

View file

@ -21,6 +21,7 @@ int dram_init(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;
}