diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-10 18:10:50 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-04-17 13:24:51 -0400 |
commit | 873b6a230652803d1de480f5d3b802e4ffd0bcad (patch) | |
tree | 63ed4d6ab91394c0d8f4f762fcb84bd6a3d55a49 /drivers | |
parent | 19da63d1d2df393f8bf891d02e9960430f9178f8 (diff) |
[MTD] Fix dependencies for MIPS MTD drivers
o A dependency on the processor architecture does not make sense;
delete it.
o The Alchemy and MTX drivers requires MTD_PARTITIONS and MTD_CFI to work,
make those dependencies.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/maps/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 5e651721ddb9..87158797a66f 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -273,13 +273,13 @@ config MTD_NETtel | |||
273 | 273 | ||
274 | config MTD_ALCHEMY | 274 | config MTD_ALCHEMY |
275 | tristate "AMD Alchemy Pb1xxx/Db1xxx/RDK MTD support" | 275 | tristate "AMD Alchemy Pb1xxx/Db1xxx/RDK MTD support" |
276 | depends on SOC_AU1X00 | 276 | depends on SOC_AU1X00 && MTD_PARTITIONS && MTD_CFI |
277 | help | 277 | help |
278 | Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards | 278 | Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards |
279 | 279 | ||
280 | config MTD_MTX1 | 280 | config MTD_MTX1 |
281 | tristate "4G Systems MTX-1 Flash device" | 281 | tristate "4G Systems MTX-1 Flash device" |
282 | depends on MIPS && MIPS_MTX1 | 282 | depends on MIPS_MTX1 && MTD_CFI |
283 | help | 283 | help |
284 | Flash memory access on 4G Systems MTX-1 Board. If you have one of | 284 | Flash memory access on 4G Systems MTX-1 Board. If you have one of |
285 | these boards and would like to use the flash chips on it, say 'Y'. | 285 | these boards and would like to use the flash chips on it, say 'Y'. |
@@ -417,7 +417,7 @@ config MTD_TQM834x | |||
417 | 417 | ||
418 | config MTD_OCELOT | 418 | config MTD_OCELOT |
419 | tristate "Momenco Ocelot boot flash device" | 419 | tristate "Momenco Ocelot boot flash device" |
420 | depends on MIPS && MOMENCO_OCELOT | 420 | depends on MOMENCO_OCELOT |
421 | help | 421 | help |
422 | This enables access routines for the boot flash device and for the | 422 | This enables access routines for the boot flash device and for the |
423 | NVRAM on the Momenco Ocelot board. If you have one of these boards | 423 | NVRAM on the Momenco Ocelot board. If you have one of these boards |