Skip to content

Commit bcf24e1

Browse files
Amarinder Bindracjb
authored andcommitted
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>
1 parent 7472bab commit bcf24e1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/mmc/host/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,11 @@ config MMC_OMAP
284284

285285
config MMC_OMAP_HS
286286
tristate "TI OMAP High Speed Multimedia Card Interface support"
287-
depends on SOC_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4
287+
depends on ARCH_OMAP2PLUS || COMPILE_TEST
288288
help
289289
This selects the TI OMAP High Speed Multimedia card Interface.
290-
If you have an OMAP2430 or OMAP3 board or OMAP4 board with a
291-
Multimedia Card slot, say Y or M here.
290+
If you have an omap2plus board with a Multimedia Card slot,
291+
say Y or M here.
292292

293293
If unsure, say N.
294294

0 commit comments

Comments
 (0)