[PATCH 13/20] mci: esdhc: add back PIO_TIMEOUT

Lucas Stach l.stach at pengutronix.de
Mon Nov 24 03:06:53 PST 2014


This got lost during bd1bf53b34c
(mci: imx-esdhc: factor out common sdhci registers). Seems the PIO
option isn't too heavily used.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 drivers/mci/imx-esdhc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mci/imx-esdhc.h b/drivers/mci/imx-esdhc.h
index ea1cb318e52b..44aff9dc1e43 100644
--- a/drivers/mci/imx-esdhc.h
+++ b/drivers/mci/imx-esdhc.h
@@ -56,6 +56,8 @@
 #define ESDHC_HOSTCAPBLT_DMAS	0x00400000
 #define ESDHC_HOSTCAPBLT_HSS	0x00200000
 
+#define PIO_TIMEOUT		100000
+
 struct fsl_esdhc_cfg {
 	u32	esdhc_base;
 	u32	no_snoop;
-- 
2.1.1




More information about the barebox mailing list