mci: imx-esdhc: Introduce esdhc_poll()
Replace all of the explcitly coded timeout loops with a shared
subroutine that is used by both regular driver and PBL code.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e158af3 commit 8780906b36046b6aab9cfffdca3323b8a3916b25
@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