[U-Boot] [PATCH v6 18/23] rockchip: add rk3036 sdram driver

Simon Glass sjg at chromium.org
Tue Nov 17 18:38:45 CET 2015


On 16 November 2015 at 23:20, Lin Huang <hl at rock-chips.com> wrote:
> add rk3036 sdram driver so we can set up sdram in SPL
>
> Signed-off-by: Lin Huang <hl at rock-chips.com>
> ---
> Changes in v1: None
> Changes in v2: None
> Changes in v3:
> - fix some code style error
> Changes in v4:
> - modify code advice by Simon Glass
> Changes in v5:
> - Advice by Simon:
> - move some global variables to local variables
> - delete __weak get_ddr_config() function
> Changes in v6:
> - Adviced by Simon:
> - pass pointer to the function call
> - fix some nits
>
>  arch/arm/include/asm/arch-rockchip/sdram_rk3036.h | 341 ++++++++++
>  arch/arm/mach-rockchip/rk3036/Makefile            |   2 +
>  arch/arm/mach-rockchip/rk3036/sdram_rk3036.c      | 764 ++++++++++++++++++++++
>  3 files changed, 1107 insertions(+)
>  create mode 100644 arch/arm/include/asm/arch-rockchip/sdram_rk3036.h
>  create mode 100644 arch/arm/mach-rockchip/rk3036/sdram_rk3036.c

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list