]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/mtd/spi-nor/Kconfig
xen/hvc: constify hv_ops structures
[karo-tx-linux.git] / drivers / mtd / spi-nor / Kconfig
1 menuconfig MTD_SPI_NOR
2         tristate "SPI-NOR device support"
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.
7
8 if MTD_SPI_NOR
9
10 config MTD_MT81xx_NOR
11         tristate "Mediatek MT81xx SPI NOR flash controller"
12         help
13           This enables access to SPI NOR flash, using MT81xx SPI NOR flash
14           controller. This controller does not support generic SPI BUS, it only
15           supports SPI NOR Flash.
16
17 config MTD_SPI_NOR_USE_4K_SECTORS
18         bool "Use small 4096 B erase sectors"
19         default y
20         help
21           Many flash memories support erasing small (4096 B) sectors. Depending
22           on the usage this feature may provide performance gain in comparison
23           to erasing whole blocks (32/64 KiB).
24           Changing a small part of the flash's contents is usually faster with
25           small sectors. On the other hand erasing should be faster when using
26           64 KiB block instead of 16 × 4 KiB sectors.
27
28           Please note that some tools/drivers/filesystems may not work with
29           4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum).
30
31 config SPI_FSL_QUADSPI
32         tristate "Freescale Quad SPI controller"
33         depends on ARCH_MXC || COMPILE_TEST
34         depends on HAS_IOMEM
35         help
36           This enables support for the Quad SPI controller in master mode.
37           This controller does not support generic SPI. It only supports
38           SPI NOR.
39
40 config SPI_NXP_SPIFI
41         tristate "NXP SPI Flash Interface (SPIFI)"
42         depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
43         depends on HAS_IOMEM
44         help
45           Enable support for the NXP LPC SPI Flash Interface controller.
46
47           SPIFI is a specialized controller for connecting serial SPI
48           Flash. Enable this option if you have a device with a SPIFI
49           controller and want to access the Flash as a mtd device.
50
51 endif # MTD_SPI_NOR