[U-Boot] [U-Boot,v2,2/8] rockchip: use common sdram function

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Sun Jun 25 23:09:09 UTC 2017


> 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 at rock-chips.com>
> ---
> 
> Changes in v2:
> - add evb-px5 and geekbox board
> - use CONFIG_SYS_SDRAM_BASE for ram_base
> 
>  arch/arm/include/asm/arch-rockchip/ddr_rk3288.h   | 48 ------------
>  arch/arm/mach-rockchip/rk3188-board.c             | 22 ------
>  arch/arm/mach-rockchip/rk3188/sdram_rk3188.c      | 62 +++------------
>  arch/arm/mach-rockchip/rk3288-board.c             | 22 ------
>  arch/arm/mach-rockchip/rk3288/sdram_rk3288.c      | 66 +++-------------
>  arch/arm/mach-rockchip/rk3399/sdram_rk3399.c      | 94 +----------------------
>  board/geekbuying/geekbox/geekbox.c                |  6 --
>  board/rockchip/evb_px5/evb-px5.c                  |  7 --
>  board/rockchip/evb_rk3328/evb-rk3328.c            |  6 --
>  board/rockchip/evb_rk3399/evb-rk3399.c            | 22 ------
>  board/rockchip/sheep_rk3368/sheep_rk3368.c        |  7 --
>  board/theobroma-systems/puma_rk3399/puma-rk3399.c | 22 ------
>  12 files changed, 26 insertions(+), 358 deletions(-)
> 

Applied to u-boot-rockchip/next, thanks!


More information about the U-Boot mailing list