Commit 873b6a23 authored by Ralf Baechle's avatar Ralf Baechle Committed by David Woodhouse

[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: default avatarRalf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 19da63d1
...@@ -273,13 +273,13 @@ config MTD_NETtel ...@@ -273,13 +273,13 @@ config MTD_NETtel
config MTD_ALCHEMY config MTD_ALCHEMY
tristate "AMD Alchemy Pb1xxx/Db1xxx/RDK MTD support" tristate "AMD Alchemy Pb1xxx/Db1xxx/RDK MTD support"
depends on SOC_AU1X00 depends on SOC_AU1X00 && MTD_PARTITIONS && MTD_CFI
help help
Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards
config MTD_MTX1 config MTD_MTX1
tristate "4G Systems MTX-1 Flash device" tristate "4G Systems MTX-1 Flash device"
depends on MIPS && MIPS_MTX1 depends on MIPS_MTX1 && MTD_CFI
help help
Flash memory access on 4G Systems MTX-1 Board. If you have one of Flash memory access on 4G Systems MTX-1 Board. If you have one of
these boards and would like to use the flash chips on it, say 'Y'. these boards and would like to use the flash chips on it, say 'Y'.
...@@ -417,7 +417,7 @@ config MTD_TQM834x ...@@ -417,7 +417,7 @@ config MTD_TQM834x
config MTD_OCELOT config MTD_OCELOT
tristate "Momenco Ocelot boot flash device" tristate "Momenco Ocelot boot flash device"
depends on MIPS && MOMENCO_OCELOT depends on MOMENCO_OCELOT
help help
This enables access routines for the boot flash device and for the This enables access routines for the boot flash device and for the
NVRAM on the Momenco Ocelot board. If you have one of these boards NVRAM on the Momenco Ocelot board. If you have one of these boards
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment