summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-08-05 23:08:58 +0200
committerArnd Bergmann <arnd@arndb.de>2022-04-21 15:01:11 +0200
commitd87d44f7ab353dde25300ced494f98b69859a539 (patch)
treec6fd0712f7008072eba746fafefd311ae0f50de3 /drivers/pcmcia/Kconfig
parent58d37dc1dfd8900892d73da1f26ac1cefca52e6e (diff)
downloadlinux-d87d44f7ab353dde25300ced494f98b69859a539.tar.gz
linux-d87d44f7ab353dde25300ced494f98b69859a539.tar.bz2
linux-d87d44f7ab353dde25300ced494f98b69859a539.zip
ARM: omap1: move CF chipselect setup to board file
There is only one board that uses the omap_cf driver, so moving the chipselect configuration there does not lead to code duplication but avoids the use of mach/tc.h in drivers. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/pcmcia/Kconfig')
-rw-r--r--drivers/pcmcia/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
index 2ce261cfff8e..ec977f031bc2 100644
--- a/drivers/pcmcia/Kconfig
+++ b/drivers/pcmcia/Kconfig
@@ -246,7 +246,8 @@ config PCMCIA_VRC4171
config OMAP_CF
tristate "OMAP CompactFlash Controller"
- depends on PCMCIA && ARCH_OMAP16XX
+ depends on PCMCIA
+ depends on ARCH_OMAP16XX || (ARM && COMPILE_TEST)
help
Say Y here to support the CompactFlash controller on OMAP.
Note that this doesn't support "True IDE" mode.