]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: sunxi: Cleanup and fix self-calibration code
authorAndre Przywara <andre.przywara@arm.com>
Wed, 5 May 2021 09:06:24 +0000 (10:06 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sat, 10 Jul 2021 00:22:09 +0000 (01:22 +0100)
commitce2b5068053c751d8fcf97cb13db1a178f284c36
tree594683451047430bfd944eaebff13d346948d9d1
parent8240174d8ec46839c0c2fc93b129d6feed0c207e
mmc: sunxi: Cleanup and fix self-calibration code

Newer SoCs have a self calibration feature, which avoids us writing hard
coded phase delay values into the controller.

Consolidate the code by avoiding unnecessary #ifdefs, and also enabling
the feature for all those newer SoCs.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/mmc/sunxi_mmc.c