]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sunxi: add support for automatic delay calibration
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 6 Nov 2018 04:24:28 +0000 (20:24 -0800)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Nov 2018 16:37:39 +0000 (22:07 +0530)
commit20940ef2a397446a209350900d3bd618c3fd5b94
tree0b584459737f9b65585876e3ea3ca696933b66ac
parent4f9d34e633c498b9f706a78f465d337c041f4a65
mmc: sunxi: add support for automatic delay calibration

A64 and H6 support automatic delay calibration and Linux driver uses it
instead of hardcoded delays. Add support for it to u-boot driver.

Fixes eMMC instability on Pinebook

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/include/asm/arch-sunxi/mmc.h
drivers/mmc/sunxi_mmc.c