]> git.baikalelectronics.ru Git - uboot.git/commit
sunxi: H6: Add DDR3-1333 timings
authorAndre Przywara <andre.przywara@arm.com>
Mon, 15 Jul 2019 01:27:08 +0000 (02:27 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:43:04 +0000 (17:13 +0530)
commitaafde7ac3d28f517c2cdf41411edbe8cbbdc853e
treec4cd5dbcaa329c342d0812e31716b5a59fbf037a
parent26e09882e7aaa14c5e90e024fa6796017ca6876a
sunxi: H6: Add DDR3-1333 timings

Add a routine to program the timing parameters for DDR3-1333 DRAM chips
connected to the H6 DRAM controller.

The values were gathered from doing back-calculations from a register
dump, trying to match them up with the official JEDEC DDDR3 spec.
If in doubt, the register dump values were taken for now, but the JEDEC
recommendation were added as a comment.

Many thanks to Jernej for contributing fixes!

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/dram_timings/Makefile
arch/arm/mach-sunxi/dram_timings/h6_ddr3_1333.c [new file with mode: 0644]