]> git.baikalelectronics.ru Git - uboot.git/commit
sunxi: H6: Add DDR3 support to DRAM controller driver
authorAndre Przywara <andre.przywara@arm.com>
Mon, 15 Jul 2019 01:27:07 +0000 (02:27 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:39:41 +0000 (17:09 +0530)
commit26e09882e7aaa14c5e90e024fa6796017ca6876a
tree63ae58111da563f1c9b6ccf437bfc94ce9ec9833
parentf1efa6abc1311c2191a775c90a92a3daf9f08bdd
sunxi: H6: Add DDR3 support to DRAM controller driver

At the moment the H6 DRAM driver only supports LPDDR3 DRAM.

Extend the driver to cover DDR3 DRAM as well.

The changes are partly motivated by looking at the ZynqMP register
documentation, partly by looking at register dumps after boot0/libdram
has initialised the controller.

Many thanks to Jernej for contributing some 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/include/asm/arch-sunxi/dram_sun50i_h6.h
arch/arm/mach-sunxi/dram_sun50i_h6.c