Kconfig 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. if MTD_SPI_NOR
  8. config MTD_MT81xx_NOR
  9. tristate "Mediatek MT81xx SPI NOR flash controller"
  10. depends on HAS_IOMEM
  11. help
  12. This enables access to SPI NOR flash, using MT81xx SPI NOR flash
  13. controller. This controller does not support generic SPI BUS, it only
  14. supports SPI NOR Flash.
  15. config MTD_SPI_NOR_USE_4K_SECTORS
  16. bool "Use small 4096 B erase sectors"
  17. default y
  18. help
  19. Many flash memories support erasing small (4096 B) sectors. Depending
  20. on the usage this feature may provide performance gain in comparison
  21. to erasing whole blocks (32/64 KiB).
  22. Changing a small part of the flash's contents is usually faster with
  23. small sectors. On the other hand erasing should be faster when using
  24. 64 KiB block instead of 16 × 4 KiB sectors.
  25. Please note that some tools/drivers/filesystems may not work with
  26. 4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum).
  27. config SPI_ATMEL_QUADSPI
  28. tristate "Atmel Quad SPI Controller"
  29. depends on ARCH_AT91 || (ARM && COMPILE_TEST)
  30. depends on OF && HAS_IOMEM
  31. help
  32. This enables support for the Quad SPI controller in master mode.
  33. This driver does not support generic SPI. The implementation only
  34. supports SPI NOR.
  35. config SPI_CADENCE_QUADSPI
  36. tristate "Cadence Quad SPI controller"
  37. depends on OF && ARM
  38. help
  39. Enable support for the Cadence Quad SPI Flash controller.
  40. Cadence QSPI is a specialized controller for connecting an SPI
  41. Flash over 1/2/4-bit wide bus. Enable this option if you have a
  42. device with a Cadence QSPI controller and want to access the
  43. Flash as an MTD device.
  44. config SPI_FSL_QUADSPI
  45. tristate "Freescale Quad SPI controller"
  46. depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
  47. depends on HAS_IOMEM
  48. help
  49. This enables support for the Quad SPI controller in master mode.
  50. This controller does not support generic SPI. It only supports
  51. SPI NOR.
  52. config SPI_HISI_SFC
  53. tristate "Hisilicon SPI-NOR Flash Controller(SFC)"
  54. depends on ARCH_HISI || COMPILE_TEST
  55. depends on HAS_IOMEM && HAS_DMA
  56. help
  57. This enables support for hisilicon SPI-NOR flash controller.
  58. config SPI_NXP_SPIFI
  59. tristate "NXP SPI Flash Interface (SPIFI)"
  60. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  61. depends on HAS_IOMEM
  62. help
  63. Enable support for the NXP LPC SPI Flash Interface controller.
  64. SPIFI is a specialized controller for connecting serial SPI
  65. Flash. Enable this option if you have a device with a SPIFI
  66. controller and want to access the Flash as a mtd device.
  67. endif # MTD_SPI_NOR