]> git.sur5r.net Git - u-boot/commit
sunxi: Add selective DRAM type and timing
authorIcenowy Zheng <icenowy@aosc.xyz>
Sat, 3 Jun 2017 09:10:18 +0000 (17:10 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 8 Jun 2017 17:07:55 +0000 (22:37 +0530)
commitf6457ce5789b885706a2877edb70b5f8e61cf075
tree07a6c460c9a922c90ebf00a0522e3845970d4fbc
parent66b12526f0bdfb284a5152cd31d5eed849e7b873
sunxi: Add selective DRAM type and timing

DRAM chip varies, and one code cannot satisfy all DRAMs.

Add options to select a timing set.

Currently only DDR3-1333 (the original set) is added into it.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/Makefile
arch/arm/mach-sunxi/dram_sunxi_dw.c
arch/arm/mach-sunxi/dram_timings/Makefile [new file with mode: 0644]
arch/arm/mach-sunxi/dram_timings/ddr3_1333.c [new file with mode: 0644]