[U-Boot] [PATCH v4 17/20] rockchip: rk3188: Add sdram driver

Simon Glass sjg at chromium.org
Tue Feb 21 20:35:33 UTC 2017


On 18 February 2017 at 11:46, Heiko Stuebner <heiko at sntech.de> wrote:
> The sdram controller blocks are very similar to the rk3288 in utilizing
> memory scheduler, Designware uPCTL and Designware PUBL blocks, only
> limited to one bank instead of two.
>
> There are some minimal differences when setting up the ram, so it gets
> a separate driver for the rk3188 but reuses the driver structs, as there
> is no need to define the same again.
>
> More optimization can happen when the modelling of the controller parts
> in the dts actually follow the hardware layout hopefully at some point
> in the future.
>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Tested-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>  arch/arm/include/asm/arch-rockchip/ddr_rk3188.h |  25 +
>  arch/arm/mach-rockchip/rk3188/Makefile          |   1 +
>  arch/arm/mach-rockchip/rk3188/sdram_rk3188.c    | 995 ++++++++++++++++++++++++
>  3 files changed, 1021 insertions(+)
>  create mode 100644 arch/arm/include/asm/arch-rockchip/ddr_rk3188.h
>  create mode 100644 arch/arm/mach-rockchip/rk3188/sdram_rk3188.c

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list