diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-06 07:21:28 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:08:06 -0500 |
commit | 79e04fdbb3423f6faa0d93e5ec41c2c2741d4052 (patch) | |
tree | ae7930c9a314d4c674d0acfc634f11b72569a866 | |
parent | c261038108b814a1ea1e85daeaa950cbd35a7db7 (diff) |
CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file.
-rw-r--r-- | arch/cris/Kconfig | 15 | ||||
-rw-r--r-- | arch/cris/arch-v10/drivers/Kconfig | 15 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/Kconfig | 16 |
3 files changed, 15 insertions, 31 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index e6d440ae5e5b..90d801331586 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
@@ -259,6 +259,21 @@ menu "Drivers for built-in interfaces" | |||
259 | source arch/cris/arch-v10/drivers/Kconfig | 259 | source arch/cris/arch-v10/drivers/Kconfig |
260 | source arch/cris/arch-v32/drivers/Kconfig | 260 | source arch/cris/arch-v32/drivers/Kconfig |
261 | 261 | ||
262 | config ETRAX_AXISFLASHMAP | ||
263 | bool "Axis flash-map support" | ||
264 | select MTD | ||
265 | select MTD_CFI | ||
266 | select MTD_CFI_AMDSTD | ||
267 | select MTD_JEDECPROBE if ETRAX_ARCH_V32 | ||
268 | select MTD_CHAR | ||
269 | select MTD_BLOCK | ||
270 | select MTD_PARTITIONS | ||
271 | select MTD_CONCAT | ||
272 | select MTD_COMPLEX_MAPPINGS | ||
273 | help | ||
274 | This option enables MTD mapping of flash devices. Needed to use | ||
275 | flash memories. If unsure, say Y. | ||
276 | |||
262 | config ETRAX_RTC | 277 | config ETRAX_RTC |
263 | bool "Real Time Clock support" | 278 | bool "Real Time Clock support" |
264 | depends on ETRAX_I2C | 279 | depends on ETRAX_I2C |
diff --git a/arch/cris/arch-v10/drivers/Kconfig b/arch/cris/arch-v10/drivers/Kconfig index 42a6d2ed6523..58f5864a6680 100644 --- a/arch/cris/arch-v10/drivers/Kconfig +++ b/arch/cris/arch-v10/drivers/Kconfig | |||
@@ -428,21 +428,6 @@ config ETRAX_USB_HOST_PORT2 | |||
428 | depends on ETRAX_USB_HOST | 428 | depends on ETRAX_USB_HOST |
429 | default n | 429 | default n |
430 | 430 | ||
431 | config ETRAX_AXISFLASHMAP | ||
432 | bool "Axis flash-map support" | ||
433 | depends on ETRAX_ARCH_V10 | ||
434 | select MTD | ||
435 | select MTD_CFI | ||
436 | select MTD_CFI_AMDSTD | ||
437 | select MTD_CHAR | ||
438 | select MTD_BLOCK | ||
439 | select MTD_PARTITIONS | ||
440 | select MTD_CONCAT | ||
441 | select MTD_COMPLEX_MAPPINGS | ||
442 | help | ||
443 | This option enables MTD mapping of flash devices. Needed to use | ||
444 | flash memories. If unsure, say Y. | ||
445 | |||
446 | config ETRAX_PTABLE_SECTOR | 431 | config ETRAX_PTABLE_SECTOR |
447 | int "Byte-offset of partition table sector" | 432 | int "Byte-offset of partition table sector" |
448 | depends on ETRAX_AXISFLASHMAP | 433 | depends on ETRAX_AXISFLASHMAP |
diff --git a/arch/cris/arch-v32/drivers/Kconfig b/arch/cris/arch-v32/drivers/Kconfig index 849c89bd0322..2a92cb1886ca 100644 --- a/arch/cris/arch-v32/drivers/Kconfig +++ b/arch/cris/arch-v32/drivers/Kconfig | |||
@@ -378,22 +378,6 @@ config ETRAX_RS485_DISABLE_RECEIVER | |||
378 | It is necessary to disable the serial receiver to avoid serial | 378 | It is necessary to disable the serial receiver to avoid serial |
379 | loopback. Not all products are able to do this in software only. | 379 | loopback. Not all products are able to do this in software only. |
380 | 380 | ||
381 | config ETRAX_AXISFLASHMAP | ||
382 | bool "Axis flash-map support" | ||
383 | depends on ETRAX_ARCH_V32 | ||
384 | select MTD | ||
385 | select MTD_CFI | ||
386 | select MTD_CFI_AMDSTD | ||
387 | select MTD_JEDECPROBE | ||
388 | select MTD_CHAR | ||
389 | select MTD_BLOCK | ||
390 | select MTD_PARTITIONS | ||
391 | select MTD_CONCAT | ||
392 | select MTD_COMPLEX_MAPPINGS | ||
393 | help | ||
394 | This option enables MTD mapping of flash devices. Needed to use | ||
395 | flash memories. If unsure, say Y. | ||
396 | |||
397 | config ETRAX_SYNCHRONOUS_SERIAL | 381 | config ETRAX_SYNCHRONOUS_SERIAL |
398 | bool "Synchronous serial-port support" | 382 | bool "Synchronous serial-port support" |
399 | depends on ETRAX_ARCH_V32 | 383 | depends on ETRAX_ARCH_V32 |