--- zzzz-none-000/linux-2.6.39.4/drivers/mtd/devices/Kconfig 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/drivers/mtd/devices/Kconfig 2021-11-10 13:23:10.000000000 +0000 @@ -112,6 +112,13 @@ Set up your spi devices with the right board-specific platform data, if you want to specify device partitioning. +config MTD_NMYX25 + tristate "Support N25Q256 M25P32 SPI Flash chips" + depends on SPI_MASTER && HW_MUTEXES + help + This enables access to the N25Q256 AND M25P32 SPI flash chips, used + for program and data storage. + config MTD_SLRAM tristate "Uncached system RAM" help @@ -305,4 +312,52 @@ LinuxBIOS or if you need to recover a DiskOnChip Millennium on which you have managed to wipe the first block. +config MTD_SFL + tristate "Generic Serial Flash MTD Driver Support" + depends on MTD && SPI + ---help--- + This provides a MTD device driver for the most of the Serial Flash devices over SPI interface. + +config SFL_SFI + int "Serial Flash mode (0/1)" + default 1 + depends on MTD_SFL + help + Set 0 for core SPI mode + Set 1 for SFI mode + +config SFL_FAST_READ + int + default 0 if SFL_NORMAL_READ_MODE + default 1 if SFL_FAST_READ_MODE + default 2 if SFL_DUAL_FAST_READ_MODE +choice + prompt "Serial Flash read mode option" + depends on MTD_SFL + default SFL_NORMAL_READ + +config SFL_NORMAL_READ_MODE + bool "Normal read" + +config SFL_FAST_READ_MODE + bool "Fast read" + +config SFL_DUAL_FAST_READ_MODE + bool "Dual-Fast read" +endchoice + +config AVALANCHE_SFL_CLK + int "Serial Flash Clock rate 50MHz (maximum)" + default 40000000 + depends on MTD_SFL + help + Set the Clock rate for Serial Flash device + +config SFL_EXTENDED_FLASH + bool "Enable support for 32MB monolithic flash in kernel (Puma5)" + help + Select this option to compile the SPI flash driver with support of 32Mb monolithic flash. + The driver will use extended memory operations for flash to access higher addresses. + default n + endmenu