diff options
author | Andre Przywara <andre.przywara@arm.com> | 2017-02-16 01:20:26 (GMT) |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-04-05 09:33:17 (GMT) |
commit | 170817a4978e99c8a856800551fe3ad3fdb58775 (patch) | |
tree | bddbd4031267fb6999a6c33c49d141395f3d8038 /board/BuS | |
parent | a982bbbc1f0a8c5de08ea777ef267dd5c4cb36db (diff) | |
download | u-boot-fsl-qoriq-170817a4978e99c8a856800551fe3ad3fdb58775.tar.xz |
sunxi: DRAM: add Allwinner H5 support
The DRAM controller in the Allwinner H5 SoC is again very similar to
the one in the H3 and A64.
Based on the existing socid parameter, add support for this controller
by reusing the bulk of the code and only deviating where needed.
These new bits set or cleared here and there have been mostly found by
looking at DRAM register dumps after using the H5 boot0 and comparing
them to what we set in the code. So for now it's mostly unclear what
those bits actually mean - hence the missing names and comments.
Also add the delay line parameters taken from the boot0 and libdram
disassembly.
Register setup differences between H5 and H3 are courtesy of Jens Kuske.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'board/BuS')
0 files changed, 0 insertions, 0 deletions