* MMC: Atmel choice under Kconfig
@ 2010-01-04 16:21 Jonathan Cameron
2010-01-04 16:25 ` Nicolas Ferre
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2010-01-04 16:21 UTC (permalink / raw)
To: linux-mmc; +Cc: Nicolas Ferre
Just a nitpicking comment. Currently even if one doesn't actually
have an atmel chip, the menu will include an entry Atmel SD/MMC Driver
due to the following bit of drivers/mmc/host/kconfig
choice
prompt "Atmel SD/MMC Driver"
default MMC_ATMELMCI if AVR32
help
Choose which driver to use for the Atmel MCI Silicon
config MMC_AT91
tristate "AT91 SD/MMC Card Interface support"
depends on ARCH_AT91
help
This selects the AT91 MCI controller.
If unsure, say N.
config MMC_ATMELMCI
tristate "Atmel Multimedia Card Interface support"
depends on AVR32 || ARCH_AT91
help
This selects the Atmel Multimedia Card Interface driver. If
you have an AT32 (AVR32) or AT91 platform with a Multimedia
Card slot, say Y or M here.
If unsure, say N.
endchoice
Does anyone object to making adding a dependency on AVR32 || ARCH_AT91
to the 'choice' entry so as to clean up what everyone else sees?
Sorry for the noise if there is already a patch for this queued up
somewhere.
Thanks,
Jonathan Cameron
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MMC: Atmel choice under Kconfig
2010-01-04 16:21 MMC: Atmel choice under Kconfig Jonathan Cameron
@ 2010-01-04 16:25 ` Nicolas Ferre
2010-01-04 16:38 ` [PATCH] MMC: Atmel host kconfig cleanup for everyone else Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Ferre @ 2010-01-04 16:25 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-mmc
Le 04/01/2010 17:21, Jonathan Cameron :
> Just a nitpicking comment. Currently even if one doesn't actually
> have an atmel chip, the menu will include an entry Atmel SD/MMC Driver
> due to the following bit of drivers/mmc/host/kconfig
>
> choice
> prompt "Atmel SD/MMC Driver"
> default MMC_ATMELMCI if AVR32
> help
> Choose which driver to use for the Atmel MCI Silicon
>
> config MMC_AT91
> tristate "AT91 SD/MMC Card Interface support"
> depends on ARCH_AT91
> help
> This selects the AT91 MCI controller.
>
> If unsure, say N.
>
> config MMC_ATMELMCI
> tristate "Atmel Multimedia Card Interface support"
> depends on AVR32 || ARCH_AT91
> help
> This selects the Atmel Multimedia Card Interface driver. If
> you have an AT32 (AVR32) or AT91 platform with a Multimedia
> Card slot, say Y or M here.
>
> If unsure, say N.
>
> endchoice
>
> Does anyone object to making adding a dependency on AVR32 || ARCH_AT91
> to the 'choice' entry so as to clean up what everyone else sees?
Yes, sure go-on.
> Sorry for the noise if there is already a patch for this queued up
> somewhere.
No patch queued for this if I recall well...
Thanks, best regards,
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] MMC: Atmel host kconfig cleanup for everyone else
2010-01-04 16:25 ` Nicolas Ferre
@ 2010-01-04 16:38 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2010-01-04 16:38 UTC (permalink / raw)
To: Nicolas Ferre; +Cc: linux-mmc
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
---
This prevents those without an Atmel chip having a line in
menuconfig etc which says "Atmel SD/MMC Driver" without any
options.
drivers/mmc/host/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index e04b751..17ef22f 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -162,6 +162,7 @@ config MMC_AU1X
choice
prompt "Atmel SD/MMC Driver"
+ depends on AVR32 || ARCH_AT91
default MMC_ATMELMCI if AVR32
help
Choose which driver to use for the Atmel MCI Silicon
--
1.6.4.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-04 16:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-04 16:21 MMC: Atmel choice under Kconfig Jonathan Cameron
2010-01-04 16:25 ` Nicolas Ferre
2010-01-04 16:38 ` [PATCH] MMC: Atmel host kconfig cleanup for everyone else Jonathan Cameron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.