]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
evb-rk3399: deduced the dram node size when space reserved
authorKever Yang <kever.yang@rock-chips.com>
Mon, 7 Nov 2016 08:30:34 +0000 (16:30 +0800)
committerSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 00:59:29 +0000 (17:59 -0700)
The size dram node need to be deduced by the same amount of reserved space.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
board/rockchip/evb_rk3399/evb-rk3399.c

index c6e6cd3e0b29120b0f32ee83ea2e85cbcd21c58d..c437f1be0b328444665ad19d62b36db149ebd786 100644 (file)
@@ -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;
 }