Просмотр исходного кода

[MTD] maps/Kconfig: Simplify and update dependencies

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Sean Young 20 лет назад
Родитель
Сommit
01ac742db3
1 измененных файлов с 32 добавлено и 29 удалено
  1. 32 29
      drivers/mtd/maps/Kconfig

+ 32 - 29
drivers/mtd/maps/Kconfig

@@ -94,7 +94,10 @@ config MTD_NETSC520
 
 
 config MTD_TS5500
 config MTD_TS5500
 	tristate "JEDEC Flash device mapped on Technologic Systems TS-5500"
 	tristate "JEDEC Flash device mapped on Technologic Systems TS-5500"
-	depends on X86 && MTD_JEDECPROBE && MTD_PARTITIONS
+	depends on ELAN
+	select MTD_PARTITIONS
+	select MTD_JEDECPROBE
+	select MTD_CFI_AMDSTD
 	help
 	help
 	  This provides a driver for the on-board flash of the Technologic
 	  This provides a driver for the on-board flash of the Technologic
 	  System's TS-5500 board. The 2MB flash is split into 3 partitions
 	  System's TS-5500 board. The 2MB flash is split into 3 partitions
@@ -210,7 +213,7 @@ 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 MIPS && SOC_AU1X00
+	depends on SOC_AU1X00
 	help
 	help
 	  Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards
 	  Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards
 
 
@@ -248,14 +251,14 @@ config MTD_L440GX
 
 
 config MTD_SBC8240
 config MTD_SBC8240
 	tristate "Flash device on SBC8240"
 	tristate "Flash device on SBC8240"
-	depends on PPC32 && MTD_JEDECPROBE && 6xx && 8260
+	depends on MTD_JEDECPROBE && 8260
 	help
 	help
           Flash access on the SBC8240 board from Wind River.  See
           Flash access on the SBC8240 board from Wind River.  See
           <http://www.windriver.com/products/sbc8240/>
           <http://www.windriver.com/products/sbc8240/>
 
 
 config MTD_TQM8XXL
 config MTD_TQM8XXL
 	tristate "CFI Flash device mapped on TQM8XXL"
 	tristate "CFI Flash device mapped on TQM8XXL"
-	depends on MTD_CFI && PPC32 && 8xx && TQM8xxL
+	depends on MTD_CFI && TQM8xxL
 	help
 	help
 	  The TQM8xxL PowerPC board has up to two banks of CFI-compliant
 	  The TQM8xxL PowerPC board has up to two banks of CFI-compliant
 	  chips, currently uses AMD one. This 'mapping' driver supports
 	  chips, currently uses AMD one. This 'mapping' driver supports
@@ -265,7 +268,7 @@ config MTD_TQM8XXL
 
 
 config MTD_RPXLITE
 config MTD_RPXLITE
 	tristate "CFI Flash device mapped on RPX Lite or CLLF"
 	tristate "CFI Flash device mapped on RPX Lite or CLLF"
-	depends on MTD_CFI && PPC32 && 8xx && (RPXCLASSIC || RPXLITE)
+	depends on MTD_CFI && (RPXCLASSIC || RPXLITE)
 	help
 	help
 	  The RPXLite PowerPC board has CFI-compliant chips mapped in
 	  The RPXLite PowerPC board has CFI-compliant chips mapped in
 	  a strange sparse mapping. This 'mapping' driver supports that
 	  a strange sparse mapping. This 'mapping' driver supports that
@@ -275,7 +278,7 @@ config MTD_RPXLITE
 
 
 config MTD_MBX860
 config MTD_MBX860
 	tristate "System flash on MBX860 board"
 	tristate "System flash on MBX860 board"
-	depends on MTD_CFI && PPC32 && 8xx && MBX
+	depends on MTD_CFI && MBX
 	help
 	help
 	  This enables access routines for the flash chips on the Motorola
 	  This enables access routines for the flash chips on the Motorola
 	  MBX860 board. If you have one of these boards and would like
 	  MBX860 board. If you have one of these boards and would like
@@ -283,7 +286,7 @@ config MTD_MBX860
 
 
 config MTD_DBOX2
 config MTD_DBOX2
 	tristate "CFI Flash device mapped on D-Box2"
 	tristate "CFI Flash device mapped on D-Box2"
-	depends on PPC32 && 8xx && DBOX2 && MTD_CFI_INTELSTD && MTD_CFI_INTELEXT && MTD_CFI_AMDSTD
+	depends on DBOX2 && MTD_CFI_INTELSTD && MTD_CFI_INTELEXT && MTD_CFI_AMDSTD
 	help
 	help
 	  This enables access routines for the flash chips on the Nokia/Sagem
 	  This enables access routines for the flash chips on the Nokia/Sagem
 	  D-Box 2 board. If you have one of these boards and would like to use
 	  D-Box 2 board. If you have one of these boards and would like to use
@@ -291,14 +294,14 @@ config MTD_DBOX2
 
 
 config MTD_CFI_FLAGADM
 config MTD_CFI_FLAGADM
 	tristate "CFI Flash device mapping on FlagaDM"
 	tristate "CFI Flash device mapping on FlagaDM"
-	depends on PPC32 && 8xx && MTD_CFI
+	depends on 8xx && MTD_CFI
 	help
 	help
 	  Mapping for the Flaga digital module. If you don't have one, ignore
 	  Mapping for the Flaga digital module. If you don't have one, ignore
 	  this setting.
 	  this setting.
 
 
 config MTD_BEECH
 config MTD_BEECH
 	tristate "CFI Flash device mapped on IBM 405LP Beech"
 	tristate "CFI Flash device mapped on IBM 405LP Beech"
-	depends on MTD_CFI && PPC32 && 40x && BEECH
+	depends on MTD_CFI && BEECH
 	help
 	help
 	  This enables access routines for the flash chips on the IBM
 	  This enables access routines for the flash chips on the IBM
 	  405LP Beech board. If you have one of these boards and would like
 	  405LP Beech board. If you have one of these boards and would like
@@ -306,7 +309,7 @@ config MTD_BEECH
 
 
 config MTD_ARCTIC
 config MTD_ARCTIC
 	tristate "CFI Flash device mapped on IBM 405LP Arctic"
 	tristate "CFI Flash device mapped on IBM 405LP Arctic"
-	depends on MTD_CFI && PPC32 && 40x && ARCTIC2
+	depends on MTD_CFI && ARCTIC2
 	help
 	help
 	  This enables access routines for the flash chips on the IBM 405LP
 	  This enables access routines for the flash chips on the IBM 405LP
 	  Arctic board. If you have one of these boards and would like to
 	  Arctic board. If you have one of these boards and would like to
@@ -314,7 +317,7 @@ config MTD_ARCTIC
 
 
 config MTD_WALNUT
 config MTD_WALNUT
 	tristate "Flash device mapped on IBM 405GP Walnut"
 	tristate "Flash device mapped on IBM 405GP Walnut"
-	depends on MTD_JEDECPROBE && PPC32 && 40x && WALNUT
+	depends on MTD_JEDECPROBE && WALNUT
 	help
 	help
 	  This enables access routines for the flash chips on the IBM 405GP
 	  This enables access routines for the flash chips on the IBM 405GP
 	  Walnut board. If you have one of these boards and would like to
 	  Walnut board. If you have one of these boards and would like to
@@ -322,7 +325,7 @@ config MTD_WALNUT
 
 
 config MTD_EBONY
 config MTD_EBONY
 	tristate "Flash devices mapped on IBM 440GP Ebony"
 	tristate "Flash devices mapped on IBM 440GP Ebony"
-	depends on MTD_JEDECPROBE && PPC32 && 44x && EBONY
+	depends on MTD_JEDECPROBE && EBONY
 	help
 	help
 	  This enables access routines for the flash chips on the IBM 440GP
 	  This enables access routines for the flash chips on the IBM 440GP
 	  Ebony board. If you have one of these boards and would like to
 	  Ebony board. If you have one of these boards and would like to
@@ -330,7 +333,7 @@ config MTD_EBONY
 
 
 config MTD_OCOTEA
 config MTD_OCOTEA
 	tristate "Flash devices mapped on IBM 440GX Ocotea"
 	tristate "Flash devices mapped on IBM 440GX Ocotea"
-	depends on MTD_CFI && PPC32 && 44x && OCOTEA
+	depends on MTD_CFI && OCOTEA
 	help
 	help
 	  This enables access routines for the flash chips on the IBM 440GX
 	  This enables access routines for the flash chips on the IBM 440GX
 	  Ocotea board. If you have one of these boards and would like to
 	  Ocotea board. If you have one of these boards and would like to
@@ -338,7 +341,7 @@ config MTD_OCOTEA
 
 
 config MTD_REDWOOD
 config MTD_REDWOOD
 	tristate "CFI Flash devices mapped on IBM Redwood"
 	tristate "CFI Flash devices mapped on IBM Redwood"
-	depends on MTD_CFI && PPC32 && 4xx && 40x && ( REDWOOD_4 || REDWOOD_5 || REDWOOD_6 )
+	depends on MTD_CFI && ( REDWOOD_4 || REDWOOD_5 || REDWOOD_6 )
 	help
 	help
 	  This enables access routines for the flash chips on the IBM
 	  This enables access routines for the flash chips on the IBM
 	  Redwood board. If you have one of these boards and would like to
 	  Redwood board. If you have one of these boards and would like to
@@ -409,14 +412,14 @@ config MTD_ARM_INTEGRATOR
 
 
 config MTD_CDB89712
 config MTD_CDB89712
 	tristate "Cirrus CDB89712 evaluation board mappings"
 	tristate "Cirrus CDB89712 evaluation board mappings"
-	depends on ARM && MTD_CFI && ARCH_CDB89712
+	depends on MTD_CFI && ARCH_CDB89712
 	help
 	help
 	  This enables access to the flash or ROM chips on the CDB89712 board.
 	  This enables access to the flash or ROM chips on the CDB89712 board.
 	  If you have such a board, say 'Y'.
 	  If you have such a board, say 'Y'.
 
 
 config MTD_SA1100
 config MTD_SA1100
 	tristate "CFI Flash device mapped on StrongARM SA11x0"
 	tristate "CFI Flash device mapped on StrongARM SA11x0"
-	depends on ARM && MTD_CFI && ARCH_SA1100 && MTD_PARTITIONS
+	depends on MTD_CFI && ARCH_SA1100 && MTD_PARTITIONS
 	help
 	help
 	  This enables access to the flash chips on most platforms based on
 	  This enables access to the flash chips on most platforms based on
 	  the SA1100 and SA1110, including the Assabet and the Compaq iPAQ.
 	  the SA1100 and SA1110, including the Assabet and the Compaq iPAQ.
@@ -424,13 +427,13 @@ config MTD_SA1100
 
 
 config MTD_IPAQ
 config MTD_IPAQ
 	tristate "CFI Flash device mapped on Compaq/HP iPAQ"
 	tristate "CFI Flash device mapped on Compaq/HP iPAQ"
-	depends on ARM && IPAQ_HANDHELD && MTD_CFI
+	depends on IPAQ_HANDHELD && MTD_CFI
 	help
 	help
 	  This provides a driver for the on-board flash of the iPAQ.
 	  This provides a driver for the on-board flash of the iPAQ.
 
 
 config MTD_DC21285
 config MTD_DC21285
 	tristate "CFI Flash device mapped on DC21285 Footbridge"
 	tristate "CFI Flash device mapped on DC21285 Footbridge"
-	depends on ARM && MTD_CFI && ARCH_FOOTBRIDGE && MTD_COMPLEX_MAPPINGS
+	depends on MTD_CFI && ARCH_FOOTBRIDGE && MTD_COMPLEX_MAPPINGS
 	help
 	help
 	  This provides a driver for the flash accessed using Intel's
 	  This provides a driver for the flash accessed using Intel's
 	  21285 bridge used with Intel's StrongARM processors. More info at
 	  21285 bridge used with Intel's StrongARM processors. More info at
@@ -438,7 +441,7 @@ config MTD_DC21285
 
 
 config MTD_IQ80310
 config MTD_IQ80310
 	tristate "CFI Flash device mapped on the XScale IQ80310 board"
 	tristate "CFI Flash device mapped on the XScale IQ80310 board"
-	depends on ARM && MTD_CFI && ARCH_IQ80310
+	depends on MTD_CFI && ARCH_IQ80310
 	help
 	help
 	  This enables access routines for the flash chips on the Intel XScale
 	  This enables access routines for the flash chips on the Intel XScale
 	  IQ80310 evaluation board. If you have one of these boards and would 
 	  IQ80310 evaluation board. If you have one of these boards and would 
@@ -446,7 +449,7 @@ config MTD_IQ80310
 
 
 config MTD_IXP4XX
 config MTD_IXP4XX
 	tristate "CFI Flash device mapped on Intel IXP4xx based systems"
 	tristate "CFI Flash device mapped on Intel IXP4xx based systems"
-	depends on ARM && MTD_CFI && MTD_COMPLEX_MAPPINGS && ARCH_IXP4XX
+	depends on MTD_CFI && MTD_COMPLEX_MAPPINGS && ARCH_IXP4XX
 	help
 	help
 	  This enables MTD access to flash devices on platforms based 
 	  This enables MTD access to flash devices on platforms based 
 	  on Intel's IXP4xx family of network processors such as the
 	  on Intel's IXP4xx family of network processors such as the
@@ -455,7 +458,7 @@ config MTD_IXP4XX
 
 
 config MTD_IXP2000
 config MTD_IXP2000
 	tristate "CFI Flash device mapped on Intel IXP2000 based systems"
 	tristate "CFI Flash device mapped on Intel IXP2000 based systems"
-	depends on ARM && MTD_CFI && MTD_COMPLEX_MAPPINGS && ARCH_IXP2000
+	depends on MTD_CFI && MTD_COMPLEX_MAPPINGS && ARCH_IXP2000
 	help
 	help
 	  This enables MTD access to flash devices on platforms based 
 	  This enables MTD access to flash devices on platforms based 
 	  on Intel's IXP2000 family of network processors such as the
 	  on Intel's IXP2000 family of network processors such as the
@@ -464,7 +467,7 @@ config MTD_IXP2000
 
 
 config MTD_EPXA10DB
 config MTD_EPXA10DB
 	tristate "CFI Flash device mapped on Epxa10db"
 	tristate "CFI Flash device mapped on Epxa10db"
-	depends on ARM && MTD_CFI && MTD_PARTITIONS && ARCH_CAMELOT
+	depends on MTD_CFI && MTD_PARTITIONS && ARCH_CAMELOT
 	help
 	help
 	  This enables support for the flash devices on the Altera
 	  This enables support for the flash devices on the Altera
 	  Excalibur XA10 Development Board. If you are building a kernel
 	  Excalibur XA10 Development Board. If you are building a kernel
@@ -472,21 +475,21 @@ config MTD_EPXA10DB
 
 
 config MTD_FORTUNET
 config MTD_FORTUNET
 	tristate "CFI Flash device mapped on the FortuNet board"
 	tristate "CFI Flash device mapped on the FortuNet board"
-	depends on ARM && MTD_CFI && MTD_PARTITIONS && SA1100_FORTUNET
+	depends on MTD_CFI && MTD_PARTITIONS && SA1100_FORTUNET
 	help
 	help
 	  This enables access to the Flash on the FortuNet board.  If you
 	  This enables access to the Flash on the FortuNet board.  If you
 	  have such a board, say 'Y'.
 	  have such a board, say 'Y'.
 
 
 config MTD_AUTCPU12
 config MTD_AUTCPU12
 	tristate "NV-RAM mapping AUTCPU12 board"
 	tristate "NV-RAM mapping AUTCPU12 board"
-	depends on ARM && ARCH_AUTCPU12
+	depends on ARCH_AUTCPU12
 	help
 	help
 	  This enables access to the NV-RAM on autronix autcpu12 board.
 	  This enables access to the NV-RAM on autronix autcpu12 board.
 	  If you have such a board, say 'Y'.
 	  If you have such a board, say 'Y'.
 
 
 config MTD_EDB7312
 config MTD_EDB7312
 	tristate "CFI Flash device mapped on EDB7312"
 	tristate "CFI Flash device mapped on EDB7312"
-	depends on ARM && MTD_CFI
+	depends on ARCH_EDB7312 && MTD_CFI
 	help
 	help
 	  This enables access to the CFI Flash on the Cogent EDB7312 board.
 	  This enables access to the CFI Flash on the Cogent EDB7312 board.
 	  If you have such a board, say 'Y' here.
 	  If you have such a board, say 'Y' here.
@@ -500,7 +503,7 @@ config MTD_IMPA7
 
 
 config MTD_CEIVA
 config MTD_CEIVA
 	tristate "JEDEC Flash device mapped on Ceiva/Polaroid PhotoMax Digital Picture Frame"
 	tristate "JEDEC Flash device mapped on Ceiva/Polaroid PhotoMax Digital Picture Frame"
-	depends on ARM && MTD_JEDECPROBE && ARCH_CEIVA
+	depends on MTD_JEDECPROBE && ARCH_CEIVA
 	help
 	help
 	  This enables access to the flash chips on the Ceiva/Polaroid
 	  This enables access to the flash chips on the Ceiva/Polaroid
 	  PhotoMax Digital Picture Frame.
 	  PhotoMax Digital Picture Frame.
@@ -508,21 +511,21 @@ config MTD_CEIVA
 
 
 config MTD_NOR_TOTO
 config MTD_NOR_TOTO
 	tristate "NOR Flash device on TOTO board"
 	tristate "NOR Flash device on TOTO board"
-	depends on ARM && ARCH_OMAP && OMAP_TOTO
+	depends on ARCH_OMAP && OMAP_TOTO
 	help
 	help
 	  This enables access to the NOR flash on the Texas Instruments
 	  This enables access to the NOR flash on the Texas Instruments
 	  TOTO board.
 	  TOTO board.
 
 
 config MTD_H720X
 config MTD_H720X
 	tristate "Hynix evaluation board mappings"
 	tristate "Hynix evaluation board mappings"
-	depends on ARM && MTD_CFI && ( ARCH_H7201 || ARCH_H7202 )
+	depends on MTD_CFI && ( ARCH_H7201 || ARCH_H7202 )
 	help
 	help
 	  This enables access to the flash chips on the Hynix evaluation boards.
 	  This enables access to the flash chips on the Hynix evaluation boards.
 	  If you have such a board, say 'Y'.
 	  If you have such a board, say 'Y'.
 
 
 config MTD_MPC1211
 config MTD_MPC1211
 	tristate "CFI Flash device mapped on Interface MPC-1211"
 	tristate "CFI Flash device mapped on Interface MPC-1211"
-	depends on SUPERH && SH_MPC1211 && MTD_CFI
+	depends on SH_MPC1211 && MTD_CFI
 	help
 	help
 	  This enables access to the flash chips on the Interface MPC-1211(CTP/PCI/MPC-SH02).
 	  This enables access to the flash chips on the Interface MPC-1211(CTP/PCI/MPC-SH02).
 	  If you have such a board, say 'Y'.
 	  If you have such a board, say 'Y'.