Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

menuconfig CONFIG_MTD_SPI_NOR
	tristate "SPI-NOR device support"
	depends on CONFIG_MTD
	help
	  This is the framework for the CONFIG_SPI NOR which can be used by the CONFIG_SPI
	  device drivers and the CONFIG_SPI-NOR device driver.

if CONFIG_MTD_SPI_NOR

config CONFIG_MTD_MT81xx_NOR
	tristate "Mediatek MT81xx SPI NOR flash controller"
	depends on CONFIG_HAS_IOMEM
	help
	  This enables access to CONFIG_SPI NOR flash, using MT81xx CONFIG_SPI NOR flash
	  controller. This controller does not support generic CONFIG_SPI BUS, it only
	  supports CONFIG_SPI NOR Flash.

config CONFIG_MTD_SPI_NOR_USE_4K_SECTORS
	bool "Use small 4096 B erase sectors"
	default y
	help
	  Many flash memories support erasing small (4096 CONFIG_B) sectors. Depending
	  on the usage this feature may provide performance gain in comparison
	  to erasing whole blocks (32/64 KiB).
	  Changing a small part of the flash's contents is usually faster with
	  small sectors. On the other hand erasing should be faster when using
	  64 KiB block instead of 16 × 4 KiB sectors.

	  Please note that some tools/drivers/filesystems may not work with
	  4096 CONFIG_B erase size (e.g. UBIFS requires 15 KiB as a minimum).

config CONFIG_SPI_ATMEL_QUADSPI
	tristate "Atmel Quad SPI Controller"
	depends on CONFIG_ARCH_AT91 || (CONFIG_ARM && CONFIG_COMPILE_TEST)
	depends on CONFIG_OF && CONFIG_HAS_IOMEM
	help
	  This enables support for the Quad CONFIG_SPI controller in master mode.
	  This driver does not support generic CONFIG_SPI. The implementation only
	  supports CONFIG_SPI NOR.

config CONFIG_SPI_CADENCE_QUADSPI
	tristate "Cadence Quad SPI controller"
	depends on CONFIG_OF && CONFIG_ARM
	help
	  Enable support for the Cadence Quad CONFIG_SPI Flash controller.

	  Cadence QSPI is a specialized controller for connecting an CONFIG_SPI
	  Flash over 1/2/4-bit wide bus. Enable this option if you have a
	  device with a Cadence QSPI controller and want to access the
	  Flash as an CONFIG_MTD device.

config CONFIG_SPI_FSL_QUADSPI
	tristate "Freescale Quad SPI controller"
	depends on CONFIG_ARCH_MXC || CONFIG_SOC_LS1021A || CONFIG_ARCH_LAYERSCAPE || CONFIG_COMPILE_TEST
	depends on CONFIG_HAS_IOMEM
	help
	  This enables support for the Quad CONFIG_SPI controller in master mode.
	  This controller does not support generic CONFIG_SPI. It only supports
	  CONFIG_SPI NOR.

config CONFIG_SPI_HISI_SFC
	tristate "Hisilicon SPI-NOR Flash Controller(SFC)"
	depends on CONFIG_ARCH_HISI || CONFIG_COMPILE_TEST
	depends on CONFIG_HAS_IOMEM && CONFIG_HAS_DMA
	help
	  This enables support for hisilicon CONFIG_SPI-NOR flash controller.

config CONFIG_SPI_NXP_SPIFI
	tristate "NXP SPI Flash Interface (SPIFI)"
	depends on CONFIG_OF && (CONFIG_ARCH_LPC18XX || CONFIG_COMPILE_TEST)
	depends on CONFIG_HAS_IOMEM
	help
	  Enable support for the NXP LPC CONFIG_SPI Flash Interface controller.

	  SPIFI is a specialized controller for connecting serial CONFIG_SPI
	  Flash. Enable this option if you have a device with a SPIFI
	  controller and want to access the Flash as a mtd device.

endif # CONFIG_MTD_SPI_NOR