]> git.ipfire.org Git - people/ms/u-boot.git/commit
sunxi: Fix H3 DRAM impedance calibration on rev. A chips
authorJens Kuske <jenskuske@gmail.com>
Wed, 21 Sep 2016 18:08:30 +0000 (20:08 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 10 Oct 2016 07:24:00 +0000 (09:24 +0200)
commit7c9454d4439ad4a9984394cbde77f0f8bc330d2c
tree621b5a95da73b54090e9389d7a0172c9b00be99e
parentf5fd45ff64e28a73499548358e3d1ceda0de7daf
sunxi: Fix H3 DRAM impedance calibration on rev. A chips

H3 seems to have a silicon bug breaking the impedance calibration.
This is currently worked around in software by multiple steps
combining the results to replace the wrong values.

Revision A chips need a different workaround, which is present in
the vendor bootloader too, but got overlooked in lack of
information and affected boards till now.
This commit adds a simplified version without correction factor,
which would be 1.00 for all known boards anyway.

Signed-off-by: Jens Kuske <jenskuske@gmail.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/mach-sunxi/dram_sun8i_h3.c