]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: stm32_sdmmc2: implement host_power_cycle callback
authorYann Gautier <yann.gautier@st.com>
Thu, 19 Sep 2019 15:56:13 +0000 (17:56 +0200)
committerPeng Fan <peng.fan@nxp.com>
Thu, 10 Oct 2019 02:59:48 +0000 (10:59 +0800)
commita8ef8b22896331d0be1bb4c5bef787b3f72e793e
tree73eef071474ef1d82cd418e922f58975a9ac0fbd
parent3602a56ac637952ea8d1b49ad525a0d70982fd92
mmc: stm32_sdmmc2: implement host_power_cycle callback

For the correct power cycle sequence with stm32_sdmmc2, the write of the
power cycle value in PWRCTL field of SDMMC_POWER register is now done in
stm32_sdmmc2_host_power_cycle() and no more in stm32_sdmmc2_pwrcycle().

Signed-off-by: Yann Gautier <yann.gautier@st.com>
drivers/mmc/stm32_sdmmc2.c