CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file.

This commit is contained in:
Jesper Nilsson 2008-02-06 13:21:28 +01:00
parent c261038108
commit 79e04fdbb3
3 changed files with 15 additions and 31 deletions

View File

@ -259,6 +259,21 @@ menu "Drivers for built-in interfaces"
source arch/cris/arch-v10/drivers/Kconfig source arch/cris/arch-v10/drivers/Kconfig
source arch/cris/arch-v32/drivers/Kconfig source arch/cris/arch-v32/drivers/Kconfig
config ETRAX_AXISFLASHMAP
bool "Axis flash-map support"
select MTD
select MTD_CFI
select MTD_CFI_AMDSTD
select MTD_JEDECPROBE if ETRAX_ARCH_V32
select MTD_CHAR
select MTD_BLOCK
select MTD_PARTITIONS
select MTD_CONCAT
select MTD_COMPLEX_MAPPINGS
help
This option enables MTD mapping of flash devices. Needed to use
flash memories. If unsure, say Y.
config ETRAX_RTC config ETRAX_RTC
bool "Real Time Clock support" bool "Real Time Clock support"
depends on ETRAX_I2C depends on ETRAX_I2C

View File

@ -428,21 +428,6 @@ config ETRAX_USB_HOST_PORT2
depends on ETRAX_USB_HOST depends on ETRAX_USB_HOST
default n default n
config ETRAX_AXISFLASHMAP
bool "Axis flash-map support"
depends on ETRAX_ARCH_V10
select MTD
select MTD_CFI
select MTD_CFI_AMDSTD
select MTD_CHAR
select MTD_BLOCK
select MTD_PARTITIONS
select MTD_CONCAT
select MTD_COMPLEX_MAPPINGS
help
This option enables MTD mapping of flash devices. Needed to use
flash memories. If unsure, say Y.
config ETRAX_PTABLE_SECTOR config ETRAX_PTABLE_SECTOR
int "Byte-offset of partition table sector" int "Byte-offset of partition table sector"
depends on ETRAX_AXISFLASHMAP depends on ETRAX_AXISFLASHMAP

View File

@ -378,22 +378,6 @@ config ETRAX_RS485_DISABLE_RECEIVER
It is necessary to disable the serial receiver to avoid serial It is necessary to disable the serial receiver to avoid serial
loopback. Not all products are able to do this in software only. loopback. Not all products are able to do this in software only.
config ETRAX_AXISFLASHMAP
bool "Axis flash-map support"
depends on ETRAX_ARCH_V32
select MTD
select MTD_CFI
select MTD_CFI_AMDSTD
select MTD_JEDECPROBE
select MTD_CHAR
select MTD_BLOCK
select MTD_PARTITIONS
select MTD_CONCAT
select MTD_COMPLEX_MAPPINGS
help
This option enables MTD mapping of flash devices. Needed to use
flash memories. If unsure, say Y.
config ETRAX_SYNCHRONOUS_SERIAL config ETRAX_SYNCHRONOUS_SERIAL
bool "Synchronous serial-port support" bool "Synchronous serial-port support"
depends on ETRAX_ARCH_V32 depends on ETRAX_ARCH_V32