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 10*3ce351b5SBayi Chengconfig MTD_MT81xx_NOR 11*3ce351b5SBayi Cheng tristate "Mediatek MT81xx SPI NOR flash controller" 12*3ce351b5SBayi Cheng help 13*3ce351b5SBayi Cheng This enables access to SPI NOR flash, using MT81xx SPI NOR flash 14*3ce351b5SBayi Cheng controller. This controller does not support generic SPI BUS, it only 15*3ce351b5SBayi Cheng supports SPI NOR Flash. 16*3ce351b5SBayi Cheng 1757cf26c1SRafał Miłeckiconfig MTD_SPI_NOR_USE_4K_SECTORS 1857cf26c1SRafał Miłecki bool "Use small 4096 B erase sectors" 1957cf26c1SRafał Miłecki default y 2057cf26c1SRafał Miłecki help 2157cf26c1SRafał Miłecki Many flash memories support erasing small (4096 B) sectors. Depending 2257cf26c1SRafał Miłecki on the usage this feature may provide performance gain in comparison 2357cf26c1SRafał Miłecki to erasing whole blocks (32/64 KiB). 2457cf26c1SRafał Miłecki Changing a small part of the flash's contents is usually faster with 2557cf26c1SRafał Miłecki small sectors. On the other hand erasing should be faster when using 2657cf26c1SRafał Miłecki 64 KiB block instead of 16 × 4 KiB sectors. 2757cf26c1SRafał Miłecki 2857cf26c1SRafał Miłecki Please note that some tools/drivers/filesystems may not work with 2957cf26c1SRafał Miłecki 4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum). 3057cf26c1SRafał Miłecki 31e46ecda7SHuang Shijieconfig SPI_FSL_QUADSPI 32e46ecda7SHuang Shijie tristate "Freescale Quad SPI controller" 33d26a22d0SBrian Norris depends on ARCH_MXC || COMPILE_TEST 34d26a22d0SBrian Norris depends on HAS_IOMEM 35e46ecda7SHuang Shijie help 36e46ecda7SHuang Shijie This enables support for the Quad SPI controller in master mode. 37842c12ddSFabio Estevam This controller does not support generic SPI. It only supports 38842c12ddSFabio Estevam SPI NOR. 39e43b2061SBrian Norris 40f617b958SJoachim Eastwoodconfig SPI_NXP_SPIFI 41f617b958SJoachim Eastwood tristate "NXP SPI Flash Interface (SPIFI)" 42f617b958SJoachim Eastwood depends on OF && (ARCH_LPC18XX || COMPILE_TEST) 43f617b958SJoachim Eastwood depends on HAS_IOMEM 44f617b958SJoachim Eastwood help 45f617b958SJoachim Eastwood Enable support for the NXP LPC SPI Flash Interface controller. 46f617b958SJoachim Eastwood 47f617b958SJoachim Eastwood SPIFI is a specialized controller for connecting serial SPI 48f617b958SJoachim Eastwood Flash. Enable this option if you have a device with a SPIFI 49f617b958SJoachim Eastwood controller and want to access the Flash as a mtd device. 50f617b958SJoachim Eastwood 51e43b2061SBrian Norrisendif # MTD_SPI_NOR 52