9
0
Fork 0
barebox/drivers/nor/Kconfig

90 lines
2.3 KiB
Plaintext

menu "flash drivers "
menuconfig DRIVER_CFI
bool "CFI "
help
If you have NOR Flash devices connected to your system and wish
to use them say yes here.
if DRIVER_CFI
config HAS_CFI
bool
config DRIVER_CFI_INTEL
default y
depends on DRIVER_CFI
bool "Support Intel flash chips"
config DRIVER_CFI_AMD
default y
depends on DRIVER_CFI
bool "support AMD flash chips"
config DRIVER_CFI_BANK_WIDTH_1
bool "Support 8-bit buswidth"
depends on DRIVER_CFI
default y
help
If you wish to support CFI devices on a physical bus which is
8 bits wide, say 'Y'.
config DRIVER_CFI_BANK_WIDTH_2
bool "Support 16-bit buswidth"
depends on DRIVER_CFI
default y
help
If you wish to support CFI devices on a physical bus which is
16 bits wide, say 'Y'.
config DRIVER_CFI_BANK_WIDTH_4
bool "Support 32-bit buswidth"
depends on DRIVER_CFI
default y
help
If you wish to support CFI devices on a physical bus which is
32 bits wide, say 'Y'.
config DRIVER_CFI_BANK_WIDTH_8
bool "Support 64-bit buswidth"
depends on DRIVER_CFI
default n
help
If you wish to support CFI devices on a physical bus which is
64 bits wide, say 'Y'.
config CFI_BUFFER_WRITE
bool "use cfi driver with buffer write"
depends on DRIVER_CFI || DRIVER_CFI
endif
config MTD_M25P80
tristate "SPI Flash chips (AT26DF, M25P, W25X, ...)"
depends on SPI
help
This enables access to most modern SPI flash chips, used for
program and data storage. Series supported include Atmel AT26DF,
Spansion S25SL, SST 25VF, ST M25P, and Winbond W25X. Other chips
are supported as well. See the driver source for the current list,
or to add other chips.
Note that the original DataFlash chips (AT45 series, not AT26DF),
need an entirely different driver.
Set up your spi devices with the right board-specific platform data,
if you want to specify device partitioning or to use a device which
doesn't support the JEDEC ID instruction.
config MTD_SST25L
tristate "Support SST25L (non JEDEC) SPI Flash chips"
depends on MTD_M25P80
help
This enables access to the non JEDEC SST25L SPI flash chips, used
for program and data storage.
Set up your spi devices with the right board-specific platform data,
if you want to specify device partitioning.
endmenu