mmc: omap_hsmmc: use the generic config for omap2plus devices
authorAmarinder Bindra <a-bindra@ti.com>
Wed, 10 Jul 2013 16:06:24 +0000 (21:36 +0530)
committerChris Ball <cjb@laptop.org>
Sun, 25 Aug 2013 19:50:33 +0000 (15:50 -0400)
commitbcf24e1daa94f4c52ef7a3f657e43cc6bc50d46b
tree20f13ece6a2c10e21dc12c8f58882b69ec2cbc90
parent7472bab236bdee1173412585591329e718f4d324
mmc: omap_hsmmc: use the generic config for omap2plus devices

OMAP's hs_mmc driver is used for MMC controller operation on many
omap2plus SoCs (OMAP2430, OMAP3, 4, 5 and AM335x).

Considering that the device tree entries are already present for these,
allow the driver to be built using the config ARCH_OMAP2PLUS rather
than individually adding a config for each SoC to enable the
support.

Use COMPILE_TEST to enable the build for other platforms.

Signed-off-by: Amarinder Bindra <a-bindra@ti.com>
Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: Nishanth Menon <nm@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/Kconfig