Files
linux/drivers/mmc/host
Shawn Guo f47c4bbfa2 mmc: sdhci-esdhc-imx: create struct esdhc_soc_data
Create a struct esdhc_soc_data with moving 'flags' field from
pltfm_imx_data into it, and pass the pointer of this SoC specific data
structure through of_device_id.data directly, so that the translation
from enum imx_esdhc_type to flags can be saved.

With the change, enum imx_esdhc_type can be eliminated, since we can
implement the is_imx*_esdhc() by checking the esdhc_soc_data pointer.
The unused is_imx35_esdhc() and is_imx51_esdhc() are also removed, and the
others are kept there as we will need to use them to handle some small
register differences later, where use of new flags might be a little
overkilled.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2013-10-21 15:57:55 -04:00
..
2012-11-28 12:28:18 -08:00
2013-09-13 15:09:52 +02:00
2009-03-24 21:30:03 +01:00
2013-08-24 23:45:22 -04:00
2013-07-05 12:46:29 -04:00
2009-10-01 16:11:15 -07:00
2012-11-28 12:28:18 -08:00
2012-11-28 12:28:18 -08:00
2007-07-26 01:53:31 +02:00