mmc: sti_sdhci: Rework sti_mmc_core_config()
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 5 Sep 2017 09:04:18 +0000 (11:04 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Sep 2017 11:39:56 +0000 (07:39 -0400)
commit819c626bb0132afadf26061026c1eb6fc3b1efc7
tree33bb7e5d4a4684e95d4d4628c13b08ad3a72bd1f
parent44913a185fc8f0de27c3fcba424309b4e0098a43
mmc: sti_sdhci: Rework sti_mmc_core_config()

Use struct udevice* as input parameter. Previous
parameters are retrieved through plat and priv data.

This to prepare to use the reset framework.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/sti_sdhci.c