--- zzzz-none-000/linux-2.6.28.10/drivers/mtd/devices/Kconfig 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/drivers/mtd/devices/Kconfig 2009-12-18 00:31:47.000000000 +0000 @@ -297,5 +297,73 @@ LinuxBIOS or if you need to recover a DiskOnChip Millennium on which you have managed to wipe the first block. +config MTD_AR7240_SPI_FLASH + bool "Support for ar7240 spi flash" + depends on MTD + +config MTD_WINBOND + tristate "WINBOND Serial Flash MTD Driver Support" + depends on MTD && (MACH_PUMA5_VOLCANO || MACH_PUMA5EVM) && SPI + ---help--- + This provides a MTD device driver for the Winbond Serial Flash over SPI interface. + +config WINBOND_SFI + int "winbond mode SPI = 0 SFI = 1" + default 1 + depends on MTD_WINBOND + help + Set 0 for core SPI mode + Set 1 for SFI mode + +config WINBOND_READ + int "Winbond read mode option NORMAL READ = 0, FAST READ = 1, Dual Read = 2 (Fast Read with Dual output)" + default 2 + depends on MTD_WINBOND + help + Set 0 for NORMAL READ + Set 1 for FAST READ + Set 2 for Dual Read(Fast Read with Dual outputd) + +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 SPI = 0 SFI = 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 50 MHz(maximum)" + default 40000000 + depends on MTD_SFL + help + Set the Clock rate for Spansion Serial Flash + endmenu