Kconfig 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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_ASPEED_SMC
  28. tristate "Aspeed flash controllers in SPI mode"
  29. depends on ARCH_ASPEED || COMPILE_TEST
  30. depends on HAS_IOMEM && OF
  31. help
  32. This enables support for the Firmware Memory controller (FMC)
  33. in the Aspeed AST2500/AST2400 SoCs when attached to SPI NOR chips,
  34. and support for the SPI flash memory controller (SPI) for
  35. the host firmware. The implementation only supports SPI NOR.
  36. config SPI_ATMEL_QUADSPI
  37. tristate "Atmel Quad SPI Controller"
  38. depends on ARCH_AT91 || (ARM && COMPILE_TEST && !ARCH_EBSA110)
  39. depends on OF && HAS_IOMEM
  40. help
  41. This enables support for the Quad SPI controller in master mode.
  42. This driver does not support generic SPI. The implementation only
  43. supports SPI NOR.
  44. config SPI_CADENCE_QUADSPI
  45. tristate "Cadence Quad SPI controller"
  46. depends on OF && (ARM || COMPILE_TEST)
  47. help
  48. Enable support for the Cadence Quad SPI Flash controller.
  49. Cadence QSPI is a specialized controller for connecting an SPI
  50. Flash over 1/2/4-bit wide bus. Enable this option if you have a
  51. device with a Cadence QSPI controller and want to access the
  52. Flash as an MTD device.
  53. config SPI_FSL_QUADSPI
  54. tristate "Freescale Quad SPI controller"
  55. depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
  56. depends on HAS_IOMEM
  57. help
  58. This enables support for the Quad SPI controller in master mode.
  59. This controller does not support generic SPI. It only supports
  60. SPI NOR.
  61. config SPI_HISI_SFC
  62. tristate "Hisilicon SPI-NOR Flash Controller(SFC)"
  63. depends on ARCH_HISI || COMPILE_TEST
  64. depends on HAS_IOMEM && HAS_DMA
  65. help
  66. This enables support for hisilicon SPI-NOR flash controller.
  67. config SPI_NXP_SPIFI
  68. tristate "NXP SPI Flash Interface (SPIFI)"
  69. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  70. depends on HAS_IOMEM
  71. help
  72. Enable support for the NXP LPC SPI Flash Interface controller.
  73. SPIFI is a specialized controller for connecting serial SPI
  74. Flash. Enable this option if you have a device with a SPIFI
  75. controller and want to access the Flash as a mtd device.
  76. config SPI_INTEL_SPI
  77. tristate
  78. config SPI_INTEL_SPI_PCI
  79. tristate "Intel PCH/PCU SPI flash PCI driver" if EXPERT
  80. depends on X86 && PCI
  81. select SPI_INTEL_SPI
  82. help
  83. This enables PCI support for the Intel PCH/PCU SPI controller in
  84. master mode. This controller is present in modern Intel hardware
  85. and is used to hold BIOS and other persistent settings. Using
  86. this driver it is possible to upgrade BIOS directly from Linux.
  87. Say N here unless you know what you are doing. Overwriting the
  88. SPI flash may render the system unbootable.
  89. To compile this driver as a module, choose M here: the module
  90. will be called intel-spi-pci.
  91. config SPI_INTEL_SPI_PLATFORM
  92. tristate "Intel PCH/PCU SPI flash platform driver" if EXPERT
  93. depends on X86
  94. select SPI_INTEL_SPI
  95. help
  96. This enables platform support for the Intel PCH/PCU SPI
  97. controller in master mode. This controller is present in modern
  98. Intel hardware and is used to hold BIOS and other persistent
  99. settings. Using this driver it is possible to upgrade BIOS
  100. directly from Linux.
  101. Say N here unless you know what you are doing. Overwriting the
  102. SPI flash may render the system unbootable.
  103. To compile this driver as a module, choose M here: the module
  104. will be called intel-spi-platform.
  105. config SPI_STM32_QUADSPI
  106. tristate "STM32 Quad SPI controller"
  107. depends on ARCH_STM32 || COMPILE_TEST
  108. help
  109. This enables support for the STM32 Quad SPI controller.
  110. We only connect the NOR to this controller.
  111. endif # MTD_SPI_NOR