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 32e46ecda7SHuang Shijieconfig SPI_FSL_QUADSPI 33e46ecda7SHuang Shijie tristate "Freescale Quad SPI controller" 34*a578c4f9SYao Yuan depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST 35d26a22d0SBrian Norris depends on HAS_IOMEM 36e46ecda7SHuang Shijie help 37e46ecda7SHuang Shijie This enables support for the Quad SPI controller in master mode. 38842c12ddSFabio Estevam This controller does not support generic SPI. It only supports 39842c12ddSFabio Estevam SPI NOR. 40e43b2061SBrian Norris 41f617b958SJoachim Eastwoodconfig SPI_NXP_SPIFI 42f617b958SJoachim Eastwood tristate "NXP SPI Flash Interface (SPIFI)" 43f617b958SJoachim Eastwood depends on OF && (ARCH_LPC18XX || COMPILE_TEST) 44f617b958SJoachim Eastwood depends on HAS_IOMEM 45f617b958SJoachim Eastwood help 46f617b958SJoachim Eastwood Enable support for the NXP LPC SPI Flash Interface controller. 47f617b958SJoachim Eastwood 48f617b958SJoachim Eastwood SPIFI is a specialized controller for connecting serial SPI 49f617b958SJoachim Eastwood Flash. Enable this option if you have a device with a SPIFI 50f617b958SJoachim Eastwood controller and want to access the Flash as a mtd device. 51f617b958SJoachim Eastwood 52e43b2061SBrian Norrisendif # MTD_SPI_NOR 53