mmc: sdhci-esdhc-imx: add flag ESDHC_FLAG_ENGCM07207
authorShawn Guo <shawn.guo@linaro.org>
Thu, 17 Oct 2013 07:19:44 +0000 (15:19 +0800)
committerChris Ball <chris@printf.net>
Mon, 21 Oct 2013 19:57:43 +0000 (15:57 -0400)
commit31fbb3013506e58320fcea2ce07543b2a22c5ee0
tree8e8e9721d9273545a01d45948e8f9fb4707dd638
parente69e4dff1c0228294572e27df7b2fc4c0b518632
mmc: sdhci-esdhc-imx: add flag ESDHC_FLAG_ENGCM07207

Just like the use of the flag ESDHC_FLAG_MULTIBLK_NO_INT, let's add
another flag ESDHC_FLAG_ENGCM07207 to enable the workaround for errata
ENGcm07207 and set the flag for i.MX25 and i.MX35 ESDHC.

While at it, let's use BIT() macro for ESDHC_FLAG_MULTIBLK_NO_INT as
well.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c