summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2016-07-25 11:45:54 +0800
committerSimon Glass <sjg@chromium.org>2016-07-31 07:24:20 -0600
commit633fdab0cb95a274a17108cd14ceafab1d4b7430 (patch)
tree15814d2f844a73d0cf77f69bb6d06ab41516081d /board
parentb357a7f7525160daa36b1814760ff57be9bb720d (diff)
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>
Diffstat (limited to 'board')
-rw-r--r--board/rockchip/evb_rk3399/evb-rk3399.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c b/board/rockchip/evb_rk3399/evb-rk3399.c
index dffacd0a84..cb2d97dfb9 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 ATF bl31 */
+ gd->bd->bi_dram[0].start = 0x200000;
gd->bd->bi_dram[0].size = 0x80000000;
}