18ac326fcSBrian Norrismenuconfig MTD_SPI_NOR 28ac326fcSBrian Norris tristate "SPI-NOR device support" 3b199489dSHuang Shijie depends on MTD 4b199489dSHuang Shijie help 5b199489dSHuang Shijie This is the framework for the SPI NOR which can be used by the SPI 6b199489dSHuang Shijie device drivers and the SPI-NOR device driver. 7e43b2061SBrian Norris 8e43b2061SBrian Norrisif MTD_SPI_NOR 9e43b2061SBrian Norris 103ce351b5SBayi Chengconfig MTD_MT81xx_NOR 113ce351b5SBayi Cheng tristate "Mediatek MT81xx SPI NOR flash controller" 1215c0be7bSRichard Weinberger depends on HAS_IOMEM 133ce351b5SBayi Cheng help 143ce351b5SBayi Cheng This enables access to SPI NOR flash, using MT81xx SPI NOR flash 153ce351b5SBayi Cheng controller. This controller does not support generic SPI BUS, it only 163ce351b5SBayi Cheng supports SPI NOR Flash. 173ce351b5SBayi Cheng 1857cf26c1SRafał Miłeckiconfig MTD_SPI_NOR_USE_4K_SECTORS 1957cf26c1SRafał Miłecki bool "Use small 4096 B erase sectors" 2057cf26c1SRafał Miłecki default y 2157cf26c1SRafał Miłecki help 2257cf26c1SRafał Miłecki Many flash memories support erasing small (4096 B) sectors. Depending 2357cf26c1SRafał Miłecki on the usage this feature may provide performance gain in comparison 2457cf26c1SRafał Miłecki to erasing whole blocks (32/64 KiB). 2557cf26c1SRafał Miłecki Changing a small part of the flash's contents is usually faster with 2657cf26c1SRafał Miłecki small sectors. On the other hand erasing should be faster when using 2757cf26c1SRafał Miłecki 64 KiB block instead of 16 × 4 KiB sectors. 2857cf26c1SRafał Miłecki 2957cf26c1SRafał Miłecki Please note that some tools/drivers/filesystems may not work with 3057cf26c1SRafał Miłecki 4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum). 3157cf26c1SRafał Miłecki 32161aaab8SCyrille Pitchenconfig SPI_ATMEL_QUADSPI 33161aaab8SCyrille Pitchen tristate "Atmel Quad SPI Controller" 34161aaab8SCyrille Pitchen depends on ARCH_AT91 || (ARM && COMPILE_TEST) 35161aaab8SCyrille Pitchen depends on OF && HAS_IOMEM 36161aaab8SCyrille Pitchen help 37161aaab8SCyrille Pitchen This enables support for the Quad SPI controller in master mode. 38161aaab8SCyrille Pitchen This driver does not support generic SPI. The implementation only 39161aaab8SCyrille Pitchen supports SPI NOR. 40161aaab8SCyrille Pitchen 4114062341SGraham Mooreconfig SPI_CADENCE_QUADSPI 4214062341SGraham Moore tristate "Cadence Quad SPI controller" 43*0cf17256SMarek Vasut depends on OF && (ARM || COMPILE_TEST) 4414062341SGraham Moore help 4514062341SGraham Moore Enable support for the Cadence Quad SPI Flash controller. 4614062341SGraham Moore 4714062341SGraham Moore Cadence QSPI is a specialized controller for connecting an SPI 4814062341SGraham Moore Flash over 1/2/4-bit wide bus. Enable this option if you have a 4914062341SGraham Moore device with a Cadence QSPI controller and want to access the 5014062341SGraham Moore Flash as an MTD device. 5114062341SGraham Moore 52e46ecda7SHuang Shijieconfig SPI_FSL_QUADSPI 53e46ecda7SHuang Shijie tristate "Freescale Quad SPI controller" 54a578c4f9SYao Yuan depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST 55d26a22d0SBrian Norris depends on HAS_IOMEM 56e46ecda7SHuang Shijie help 57e46ecda7SHuang Shijie This enables support for the Quad SPI controller in master mode. 58842c12ddSFabio Estevam This controller does not support generic SPI. It only supports 59842c12ddSFabio Estevam SPI NOR. 60e43b2061SBrian Norris 61e523f111SJiancheng Xueconfig SPI_HISI_SFC 62e523f111SJiancheng Xue tristate "Hisilicon SPI-NOR Flash Controller(SFC)" 63e523f111SJiancheng Xue depends on ARCH_HISI || COMPILE_TEST 64e523f111SJiancheng Xue depends on HAS_IOMEM && HAS_DMA 65e523f111SJiancheng Xue help 66e523f111SJiancheng Xue This enables support for hisilicon SPI-NOR flash controller. 67e523f111SJiancheng Xue 68f617b958SJoachim Eastwoodconfig SPI_NXP_SPIFI 69f617b958SJoachim Eastwood tristate "NXP SPI Flash Interface (SPIFI)" 70f617b958SJoachim Eastwood depends on OF && (ARCH_LPC18XX || COMPILE_TEST) 71f617b958SJoachim Eastwood depends on HAS_IOMEM 72f617b958SJoachim Eastwood help 73f617b958SJoachim Eastwood Enable support for the NXP LPC SPI Flash Interface controller. 74f617b958SJoachim Eastwood 75f617b958SJoachim Eastwood SPIFI is a specialized controller for connecting serial SPI 76f617b958SJoachim Eastwood Flash. Enable this option if you have a device with a SPIFI 77f617b958SJoachim Eastwood controller and want to access the Flash as a mtd device. 78f617b958SJoachim Eastwood 79e43b2061SBrian Norrisendif # MTD_SPI_NOR 80