Brian Norris | 8ac326f | 2014-04-10 11:05:34 -0700 | [diff] [blame] | 1 | menuconfig MTD_SPI_NOR |
| 2 | tristate "SPI-NOR device support" |
Huang Shijie | b199489 | 2014-02-24 18:37:37 +0800 | [diff] [blame] | 3 | depends on MTD |
| 4 | help |
| 5 | This is the framework for the SPI NOR which can be used by the SPI |
| 6 | device drivers and the SPI-NOR device driver. |
Brian Norris | e43b206 | 2014-04-08 20:30:25 -0700 | [diff] [blame] | 7 | |
| 8 | if MTD_SPI_NOR |
| 9 | |
Rafał Miłecki | 57cf26c | 2014-08-17 11:27:26 +0200 | [diff] [blame] | 10 | config MTD_SPI_NOR_USE_4K_SECTORS |
| 11 | bool "Use small 4096 B erase sectors" |
| 12 | default y |
| 13 | help |
| 14 | Many flash memories support erasing small (4096 B) sectors. Depending |
| 15 | on the usage this feature may provide performance gain in comparison |
| 16 | to erasing whole blocks (32/64 KiB). |
| 17 | Changing a small part of the flash's contents is usually faster with |
| 18 | small sectors. On the other hand erasing should be faster when using |
| 19 | 64 KiB block instead of 16 × 4 KiB sectors. |
| 20 | |
| 21 | Please note that some tools/drivers/filesystems may not work with |
| 22 | 4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum). |
| 23 | |
Huang Shijie | e46ecda | 2014-02-24 18:37:42 +0800 | [diff] [blame] | 24 | config SPI_FSL_QUADSPI |
| 25 | tristate "Freescale Quad SPI controller" |
Brian Norris | e43b206 | 2014-04-08 20:30:25 -0700 | [diff] [blame] | 26 | depends on ARCH_MXC |
Huang Shijie | e46ecda | 2014-02-24 18:37:42 +0800 | [diff] [blame] | 27 | help |
| 28 | This enables support for the Quad SPI controller in master mode. |
| 29 | We only connect the NOR to this controller now. |
Brian Norris | e43b206 | 2014-04-08 20:30:25 -0700 | [diff] [blame] | 30 | |
| 31 | endif # MTD_SPI_NOR |