Kconfig 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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_SPI_NOR_USE_4K_SECTORS
  9. bool "Use small 4096 B erase sectors"
  10. default y
  11. help
  12. Many flash memories support erasing small (4096 B) sectors. Depending
  13. on the usage this feature may provide performance gain in comparison
  14. to erasing whole blocks (32/64 KiB).
  15. Changing a small part of the flash's contents is usually faster with
  16. small sectors. On the other hand erasing should be faster when using
  17. 64 KiB block instead of 16 × 4 KiB sectors.
  18. Please note that some tools/drivers/filesystems may not work with
  19. 4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum).
  20. config SPI_FSL_QUADSPI
  21. tristate "Freescale Quad SPI controller"
  22. depends on ARCH_MXC || COMPILE_TEST
  23. depends on HAS_IOMEM
  24. help
  25. This enables support for the Quad SPI controller in master mode.
  26. This controller does not support generic SPI. It only supports
  27. SPI NOR.
  28. config SPI_NXP_SPIFI
  29. tristate "NXP SPI Flash Interface (SPIFI)"
  30. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  31. depends on HAS_IOMEM
  32. help
  33. Enable support for the NXP LPC SPI Flash Interface controller.
  34. SPIFI is a specialized controller for connecting serial SPI
  35. Flash. Enable this option if you have a device with a SPIFI
  36. controller and want to access the Flash as a mtd device.
  37. endif # MTD_SPI_NOR