> There are some functions like sdram_size_mb can be re-used for > different rockchip SoCs, just put them into common file. > Add board_get_usable_ram_top() for ram_top init base on > SDRAM_MAX_SIZE. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > --- > > Changes in v2: > - add board_get_usable_ram_top() > > arch/arm/include/asm/arch-rockchip/sdram_common.h | 58 ++++++++++++++++ > arch/arm/mach-rockchip/Makefile | 3 + > arch/arm/mach-rockchip/sdram_common.c | 83 > +++++++++++++++++++++++ > include/configs/rk3188_common.h | 1 + > include/configs/rk3288_common.h | 1 + > include/configs/rk3328_common.h | 2 +- > include/configs/rk3368_common.h | 2 + > include/configs/rk3399_common.h | 1 + > 8 files changed, 150 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/include/asm/arch-rockchip/sdram_common.h > create mode 100644 arch/arm/mach-rockchip/sdram_common.c >
Applied to u-boot-rockchip/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot