From: Kever Yang Date: Mon, 7 Nov 2016 08:30:34 +0000 (+0800) Subject: evb-rk3399: deduced the dram node size when space reserved X-Git-Tag: v2017.01-rc1~210^2~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8aea45a745251fd4c619d8b34ff65dfc174ebf83;p=u-boot evb-rk3399: deduced the dram node size when space reserved The size dram node need to be deduced by the same amount of reserved space. 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 c6e6cd3e0b..c437f1be0b 100644 --- a/board/rockchip/evb_rk3399/evb-rk3399.c +++ b/board/rockchip/evb_rk3399/evb-rk3399.c @@ -71,5 +71,5 @@ void dram_init_banksize(void) { /* 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 = 0x7e000000; }