]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: sunxi: Add DM clk and reset support
authorAndre Przywara <andre.przywara@arm.com>
Tue, 29 Jan 2019 15:54:13 +0000 (15:54 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 29 Jan 2019 18:14:03 +0000 (23:44 +0530)
commite415678d0ced52f165067fa4c0a92d95eaa20ba5
tree852ee574cde71038c236fb61d617139bad5356a4
parent20a6ed86c0af05e2257ee5980dd6fa06d2481901
mmc: sunxi: Add DM clk and reset support

Now that we have the gate clocks and the reset gates in our new
Allwinner clock driver, let's make use of them in the MMC driver, when
DM_MMC is defined.
We treat the reset device as optional now, as the older SoCs don't
implement it.

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