diff options
author | Samuel Ortiz <sameo@openedhand.com> | 2008-08-05 13:27:58 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2008-08-10 17:30:34 -0400 |
commit | 1c2c30acc52320d506d722f41d50e8eb8fda5cb5 (patch) | |
tree | cd10608f2a93412fa307fe29a80c5f1d575cc63a | |
parent | 4a48998fa16121d0fe3436cce43afd6f47424103 (diff) |
mfd: have TMIO drivers and subdevices depend on ARM
The TMIO chips are only found (and thus tested) on ARM machines.
Moreover, we don't want the TMIO cells to be built if one of the TMIO
driver is not selected (which indirectly make the TMIO cells drivers
depend on ARM as well).
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
-rw-r--r-- | drivers/mfd/Kconfig | 9 | ||||
-rw-r--r-- | drivers/mmc/host/Kconfig | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/Kconfig | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 5beff5b7ef2e..10c44d3fe01a 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -50,15 +50,23 @@ config HTC_PASIC3 | |||
50 | HTC Magician devices, respectively. Actual functionality is | 50 | HTC Magician devices, respectively. Actual functionality is |
51 | handled by the leds-pasic3 and ds1wm drivers. | 51 | handled by the leds-pasic3 and ds1wm drivers. |
52 | 52 | ||
53 | config MFD_TMIO | ||
54 | bool | ||
55 | default n | ||
56 | |||
53 | config MFD_T7L66XB | 57 | config MFD_T7L66XB |
54 | bool "Support Toshiba T7L66XB" | 58 | bool "Support Toshiba T7L66XB" |
59 | depends on ARM | ||
55 | select MFD_CORE | 60 | select MFD_CORE |
61 | select MFD_TMIO | ||
56 | help | 62 | help |
57 | Support for Toshiba Mobile IO Controller T7L66XB | 63 | Support for Toshiba Mobile IO Controller T7L66XB |
58 | 64 | ||
59 | config MFD_TC6387XB | 65 | config MFD_TC6387XB |
60 | bool "Support Toshiba TC6387XB" | 66 | bool "Support Toshiba TC6387XB" |
67 | depends on ARM | ||
61 | select MFD_CORE | 68 | select MFD_CORE |
69 | select MFD_TMIO | ||
62 | help | 70 | help |
63 | Support for Toshiba Mobile IO Controller TC6387XB | 71 | Support for Toshiba Mobile IO Controller TC6387XB |
64 | 72 | ||
@@ -66,6 +74,7 @@ config MFD_TC6393XB | |||
66 | bool "Support Toshiba TC6393XB" | 74 | bool "Support Toshiba TC6393XB" |
67 | depends on GPIOLIB && ARM | 75 | depends on GPIOLIB && ARM |
68 | select MFD_CORE | 76 | select MFD_CORE |
77 | select MFD_TMIO | ||
69 | help | 78 | help |
70 | Support for Toshiba Mobile IO Controller TC6393XB | 79 | Support for Toshiba Mobile IO Controller TC6393XB |
71 | 80 | ||
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 6fef078a2049..ea8d7a3490d9 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig | |||
@@ -176,7 +176,7 @@ config MMC_SDRICOH_CS | |||
176 | 176 | ||
177 | config MMC_TMIO | 177 | config MMC_TMIO |
178 | tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support" | 178 | tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support" |
179 | depends on MFD_CORE | 179 | depends on MFD_TMIO |
180 | help | 180 | help |
181 | This provides support for the SD/MMC cell found in TC6393XB, | 181 | This provides support for the SD/MMC cell found in TC6393XB, |
182 | T7L66XB and also ipaq ASIC3 | 182 | T7L66XB and also ipaq ASIC3 |
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index fd6debb24252..41f361c49b32 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
@@ -353,7 +353,7 @@ config MTD_NAND_PASEMI | |||
353 | 353 | ||
354 | config MTD_NAND_TMIO | 354 | config MTD_NAND_TMIO |
355 | tristate "NAND Flash device on Toshiba Mobile IO Controller" | 355 | tristate "NAND Flash device on Toshiba Mobile IO Controller" |
356 | depends on MTD_NAND && MFD_CORE | 356 | depends on MTD_NAND && MFD_TMIO |
357 | help | 357 | help |
358 | Support for NAND flash connected to a Toshiba Mobile IO | 358 | Support for NAND flash connected to a Toshiba Mobile IO |
359 | Controller in some PDAs, including the Sharp SL6000x. | 359 | Controller in some PDAs, including the Sharp SL6000x. |