]> git.dujemihanovic.xyz Git - u-boot.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)
commit75a8a641f313f019c406433856a6793def53dc4d
tree63ae58111da563f1c9b6ccf437bfc94ce9ec9833
parent770b85a4180e5173c57c3297a4e28647e041f63a
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