On 18 February 2017 at 11:46, Heiko Stuebner <he...@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 <he...@sntech.de> > Reviewed-by: Simon Glass <s...@chromium.org> > Tested-by: Kever Yang <kever.y...@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! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot