]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: makes an invisible option for H3-like DRAM controllers
authorIcenowy Zheng <icenowy@aosc.xyz>
Sat, 3 Jun 2017 09:10:14 +0000 (17:10 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 8 Jun 2017 17:07:55 +0000 (22:37 +0530)
commit9934aba42748e413646fb60b4f762422415437a7
treecaded24a3ff84ecd25402f94c2d4cefa606bce35
parentb0174c39b336adc5044d2ca044d6d5e67ca0e879
sunxi: makes an invisible option for H3-like DRAM controllers

Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like
DesignWare DRAM controller, which do not have official free DRAM
initialization code, but can use modified dram_sun8i_h3.c.

Add a invisible option for easier DRAM initialization code reuse.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/include/asm/arch-sunxi/dram.h
arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h [moved from arch/arm/include/asm/arch-sunxi/dram_sun8i_h3.h with 100% similarity]
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/Makefile
arch/arm/mach-sunxi/dram_sunxi_dw.c [moved from arch/arm/mach-sunxi/dram_sun8i_h3.c with 100% similarity]