mci: imx-esdhc: Share code for esdhc_send_cmd()
Versions of esdhc_send_cmd() in imx-esdhc.c and imx-esdhc-pbl.c
implement almost the same algorithm. To avoid code repetition, move
that code to imx-esdhc-common.c and adjust all of the users
accordingly.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8780906 commit 4a7d7b16e21a69a0a590b2356e8d8db2ae3452f6
@Andrey Smirnov Andrey Smirnov authored on 2 Dec 2019
Sascha Hauer committed on 4 Dec 2019
Showing 4 changed files
View
drivers/mci/imx-esdhc-common.c
View
drivers/mci/imx-esdhc-pbl.c
View
drivers/mci/imx-esdhc.c
View
drivers/mci/imx-esdhc.h