[U-Boot] [PATCH] evb-rk3399: deduced the dram node size when space reserved
Kever Yang
kever.yang at rock-chips.com
Mon Nov 7 09:30:34 CET 2016
The size dram node need to be deduced by the same amount of reserved space.
Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---
board/rockchip/evb_rk3399/evb-rk3399.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c b/board/rockchip/evb_rk3399/evb-rk3399.c
index c6e6cd3..c437f1b 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;
}
--
1.9.1
More information about the U-Boot
mailing list