From: Kever Yang Date: Mon, 25 Jul 2016 03:45:54 +0000 (+0800) Subject: rk3399: Reserve space for ARM Trust Firmware X-Git-Tag: v2016.09-rc2~154^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=633fdab0cb95a274a17108cd14ceafab1d4b7430;p=oweals%2Fu-boot.git rk3399: Reserve space for ARM Trust Firmware RK3399 needs reserve 0x200000 at the beginning of DRAM, for ATF bl31. Signed-off-by: Kever Yang Acked-by: Simon Glass --- 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; }