> The bank0 ram size should be the DRAM size minus reserved size, > the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > --- > > Changes in v2: > - move the dram_init_banksize() from board file into soc file for we > have the same setting for different board in one SoC now. > > arch/arm/mach-rockchip/rk3328/rk3328.c | 11 +++++++++++ > arch/arm/mach-rockchip/rk3368/rk3368.c | 11 +++++++++++ > arch/arm/mach-rockchip/rk3399/rk3399.c | 11 +++++++++++ > board/geekbuying/geekbox/geekbox.c | 8 -------- > board/rockchip/evb_px5/evb-px5.c | 9 --------- > board/rockchip/evb_rk3328/evb-rk3328.c | 9 --------- > board/rockchip/evb_rk3399/evb-rk3399.c | 9 --------- > board/rockchip/sheep_rk3368/sheep_rk3368.c | 8 -------- > board/theobroma-systems/puma_rk3399/puma-rk3399.c | 9 --------- > 9 files changed, 33 insertions(+), 52 deletions(-) >
Applied to u-boot-rockchip/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot