Commit | Line | Data |
---|---|---|
8ac326fc BN |
1 | menuconfig MTD_SPI_NOR |
2 | tristate "SPI-NOR device support" | |
b199489d HS |
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. | |
e43b2061 BN |
7 | |
8 | if MTD_SPI_NOR | |
9 | ||
57cf26c1 RM |
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 | ||
e46ecda7 HS |
24 | config SPI_FSL_QUADSPI |
25 | tristate "Freescale Quad SPI controller" | |
e43b2061 | 26 | depends on ARCH_MXC |
e46ecda7 HS |
27 | help |
28 | This enables support for the Quad SPI controller in master mode. | |
29 | We only connect the NOR to this controller now. | |
e43b2061 | 30 | |
f617b958 JE |
31 | config SPI_NXP_SPIFI |
32 | tristate "NXP SPI Flash Interface (SPIFI)" | |
33 | depends on OF && (ARCH_LPC18XX || COMPILE_TEST) | |
34 | depends on HAS_IOMEM | |
35 | help | |
36 | Enable support for the NXP LPC SPI Flash Interface controller. | |
37 | ||
38 | SPIFI is a specialized controller for connecting serial SPI | |
39 | Flash. Enable this option if you have a device with a SPIFI | |
40 | controller and want to access the Flash as a mtd device. | |
41 | ||
e43b2061 | 42 | endif # MTD_SPI_NOR |