linux/arch/arm/mach-imx
Shawn Guo 7f917a8df6 mmc: mxcmmc: remove cpu_is_xxx by using platform_device_id
It changes the driver to use platform_device_id rather than cpu_is_xxx
to determine the controller type, and updates the platform code
accordingly.

As the result, mach/hardware.h inclusion gets removed from the driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Chris Ball <cjb@laptop.org>
Tested-by: Javier Martin <javier.martin@vista-silicon.com>
Cc: linux-mmc@vger.kernel.org
2012-10-15 10:05:41 +08:00
..
devices mmc: mxcmmc: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:05:41 +08:00
include/mach dma: ipu: rename mach/ipu.h to include/linux/dma/ipu-dma.h 2012-10-15 10:03:12 +08:00
3ds_debugboard.c ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
3ds_debugboard.h ARM: imx: include board headers in the same folder 2012-10-15 09:18:14 +08:00
avic.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
board-mx31lilly.h ARM: imx: include board headers in the same folder 2012-10-15 09:18:14 +08:00
board-mx31lite.h ARM: imx: include board headers in the same folder 2012-10-15 09:18:14 +08:00
board-mx31moboard.h ARM: imx: include board headers in the same folder 2012-10-15 09:18:14 +08:00
board-pcm038.h ARM: imx: include board headers in the same folder 2012-10-15 09:18:14 +08:00
clk-busy.c ARM: imx: add common clock support for clk busy 2012-05-02 12:08:26 +02:00
clk-gate2.c ARM i.MX: Add common clock support for 2bit gate 2012-05-02 12:08:13 +02:00
clk-imx1.c dma: imx-dma: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:17 +08:00
clk-imx6q.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
clk-imx21.c dma: imx-dma: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:17 +08:00
clk-imx25.c media: mx2_camera: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:05:41 +08:00
clk-imx27.c mmc: mxcmmc: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:05:41 +08:00
clk-imx31.c mmc: mxcmmc: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:05:41 +08:00
clk-imx35.c mtd: mxc_nand: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:15 +08:00
clk-imx51-imx53.c mtd: mxc_nand: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:15 +08:00
clk-pfd.c ARM: imx: add common clock support for pfd 2012-05-02 12:08:20 +02:00
clk-pllv1.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
clk-pllv2.c ARM i.MX pllv2: make round_rate accurate 2012-06-04 15:23:47 +02:00
clk-pllv3.c ARM: imx: add common clock support for pllv3 2012-05-02 12:08:06 +02:00
clk.c ARM: i.MX remove last leftovers from legacy clock support 2012-09-12 11:46:51 +02:00
clk.h ARM: i.MX remove last leftovers from legacy clock support 2012-09-12 11:46:51 +02:00
common.h ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
cpu_op-mx51.c bug.h: add include of it to various implicit C users 2012-02-29 17:15:08 -05:00
cpu_op-mx51.h ARM i.MX: Merge i.MX5 support into mach-imx 2011-11-16 08:37:37 +01:00
cpu-imx5.c ARM: imx: use machine specific hook for late init 2012-05-08 20:36:16 +08:00
cpu-imx25.c ARM: imx: include iim.h rather than mach/iim.h 2012-10-15 10:03:10 +08:00
cpu-imx27.c ARM: mx27: Print silicon revision on boot 2011-08-26 08:50:58 +02:00
cpu-imx31.c ARM: imx: include iim.h rather than mach/iim.h 2012-10-15 10:03:10 +08:00
cpu-imx35.c ARM: imx: include iim.h rather than mach/iim.h 2012-10-15 10:03:10 +08:00
cpu.c ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
cpufreq.c ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
cpuidle.c ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
cpuidle.h ARM: imx: ARM: imx: include cpuidle.h rather than mach/cpuidle.h 2012-10-15 10:03:10 +08:00
crm-regs-imx5.h ARM i.MX53: Fix PLL4 base address 2012-06-04 15:23:57 +02:00
crmregs-imx3.h ARM i.MX3: Make ccm base address a variable 2012-04-25 17:03:45 +02:00
devices-imx1.h ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
devices-imx21.h ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
devices-imx25.h ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
devices-imx27.h ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
devices-imx31.h ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
devices-imx35.h ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
devices-imx50.h ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
devices-imx51.h ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
ehci-imx5.c ARM: imx: move platform_data definitions 2012-09-14 11:17:21 +02:00
ehci-imx25.c ARM: imx: move platform_data definitions 2012-09-14 11:17:21 +02:00
ehci-imx27.c ARM: imx: move platform_data definitions 2012-09-14 11:17:21 +02:00
ehci-imx31.c ARM: imx: move platform_data definitions 2012-09-14 11:17:21 +02:00
ehci-imx35.c ARM: imx: move platform_data definitions 2012-09-14 11:17:21 +02:00
epit.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
eukrea_mbimx27-baseboard.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
eukrea_mbimxsd25-baseboard.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
eukrea_mbimxsd35-baseboard.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
eukrea_mbimxsd51-baseboard.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
eukrea-baseboards.h ARM: imx: include board headers in the same folder 2012-10-15 09:18:14 +08:00
gpc.c arm/imx6q: add core drivers clock, gpc, mmdc and src 2011-10-31 14:26:23 +01:00
headsmp.S ARM: imx: build i.MX6 functions only when needed 2012-08-23 17:26:53 +02:00
hotplug.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
iim.h ARM: imx: include iim.h rather than mach/iim.h 2012-10-15 10:03:10 +08:00
imx27-dt.c mtd: mxc_nand: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:15 +08:00
imx31-dt.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
imx51-dt.c i2c: imx: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:15 +08:00
iomux-imx31.c ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx1.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx2x.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx3.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx21.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx25.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx27.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx35.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx50.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-mx51.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-v1.c ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-v1.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-v3.c ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iomux-v3.h ARM: imx: move iomux drivers and headers into mach-imx 2012-10-15 09:18:14 +08:00
iram_alloc.c ARM: imx: include iram.h rather than mach/iram.h 2012-10-15 10:03:11 +08:00
iram.h ARM: imx: include iram.h rather than mach/iram.h 2012-10-15 10:03:11 +08:00
irq-common.c ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
irq-common.h ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
Kconfig ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
lluart.c ARM: imx6: Add UART2 for low-level debug 2012-05-11 15:17:57 +08:00
mach-apf9328.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-armadillo5x0.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mach-bug.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-cpuimx27.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mach-cpuimx35.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-cpuimx51sd.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-eukrea_cpuimx25.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-imx6q.c ARM: imx: ARM: imx: include cpuidle.h rather than mach/cpuidle.h 2012-10-15 10:03:10 +08:00
mach-imx27_visstrim_m10.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-imx27ipcam.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-imx27lite.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-imx53.c i2c: imx: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:15 +08:00
mach-kzm_arm11_01.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx1ads.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx21ads.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx25_3ds.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx27_3ds.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mach-mx27ads.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx31_3ds.c mmc: mxcmmc: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:05:41 +08:00
mach-mx31ads.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx31lilly.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mach-mx31lite.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mach-mx31moboard.c mmc: mxcmmc: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:05:41 +08:00
mach-mx35_3ds.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx50_rdp.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx51_3ds.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mx51_babbage.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-mxt_td60.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-pca100.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mach-pcm037_eet.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-pcm037.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mach-pcm038.c mmc: mxcmmc: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:05:41 +08:00
mach-pcm043.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mach-qong.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-scb9328.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mach-vpr200.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
Makefile ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
Makefile.boot ARM: move all dtb targets out of Makefile.boot 2012-09-14 09:22:04 -05:00
mm-imx1.c dma: imx-dma: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:17 +08:00
mm-imx3.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mm-imx5.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mm-imx21.c dma: imx-dma: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:17 +08:00
mm-imx25.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mm-imx27.c dma: imx-dma: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:17 +08:00
mmdc.c arm/imx6q: add core drivers clock, gpc, mmdc and src 2011-10-31 14:26:23 +01:00
mx1-camera-fiq-ksym.c ARM: imx: move platform_data definitions 2012-09-14 11:17:21 +02:00
mx1-camera-fiq.S
mx31lilly-db.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mx31lite-db.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
mx31moboard-devboard.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mx31moboard-marxbot.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
mx31moboard-smartbot.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
pcm037.h ARM: imx: use machine specific hook for late init 2012-05-08 20:36:16 +08:00
pcm970-baseboard.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
platsmp.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
pm-imx3.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
pm-imx5.c ARM: imx: ARM: imx: include cpuidle.h rather than mach/cpuidle.h 2012-10-15 10:03:10 +08:00
pm-imx6q.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
pm-imx27.c ARM: plat-mxc: hook special idle handlers to arm_pm_idle 2012-01-20 18:55:14 -05:00
src.c ARM: 7293/1: logical_cpu_map: decouple CPU mapping from SMP 2012-01-23 10:20:05 +00:00
ssi-fiq-ksym.c ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
ssi-fiq.S ARM: imx: merge plat-mxc into mach-imx 2012-10-15 10:02:19 +08:00
system.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
time.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
tzic.c ARM: imx: include common.h rather than mach/common.h 2012-10-15 10:03:10 +08:00
ulpi.c ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00
ulpi.h ARM: imx: include ulpi.h rather than mach/ulpi.h 2012-10-15 10:03:11 +08:00