aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/cris/Kconfig15
-rw-r--r--arch/cris/arch-v10/drivers/Kconfig15
-rw-r--r--arch/cris/arch-v32/drivers/Kconfig16
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"
259source arch/cris/arch-v10/drivers/Kconfig 259source arch/cris/arch-v10/drivers/Kconfig
260source arch/cris/arch-v32/drivers/Kconfig 260source arch/cris/arch-v32/drivers/Kconfig
261 261
262config 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
262config ETRAX_RTC 277config 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
431config 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
446config ETRAX_PTABLE_SECTOR 431config 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
381config 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
397config ETRAX_SYNCHRONOUS_SERIAL 381config 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