]> git.sur5r.net Git - u-boot/commit
rockchip: use common sdram function
authorKever Yang <kever.yang@rock-chips.com>
Fri, 23 Jun 2017 08:11:06 +0000 (16:11 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:44 +0000 (12:13 +0200)
commit7805cdf494beb0014590b8bc79338c02c3791f15
tree45f16fb0058bcd01c9d5bb0db438bd9cf37df5a2
parent6d1970fa8a8d315af2b5c2c6f0ad5e5c24a382b5
rockchip: use common sdram function

Replace the sdram_init() in board init and rockchip_sdram_size() in
sdram driver for all the Rockchip SoCs which enable CONFIG_RAM.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Make dram_init() in rk3036-board.c conditional on CONFIG_RAM:
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
13 files changed:
arch/arm/include/asm/arch-rockchip/ddr_rk3288.h
arch/arm/mach-rockchip/rk3036-board.c
arch/arm/mach-rockchip/rk3188-board.c
arch/arm/mach-rockchip/rk3188/sdram_rk3188.c
arch/arm/mach-rockchip/rk3288-board.c
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
board/geekbuying/geekbox/geekbox.c
board/rockchip/evb_px5/evb-px5.c
board/rockchip/evb_rk3328/evb-rk3328.c
board/rockchip/evb_rk3399/evb-rk3399.c
board/rockchip/sheep_rk3368/sheep_rk3368.c
board/theobroma-systems/puma_rk3399/puma-rk3399.c