
+ Boris + Suneel (who helped in DM MTD) + Siva, Michal (zynq qspi)
On Wed, Jun 6, 2018 at 9:00 PM, Miquel Raynal miquel.raynal@bootlin.com wrote:
During the last months, Boris Brezillon shared his work to support serial flashes within Linux. First, he delivered (and merged) a new layer called spi-mem. He also initiated in Linux MTD subsystem the move of all 'raw' NAND related code to a raw/ subdirectory, adding at the same time a NAND core that would be shared with all NAND devices. Then, he contributed a generic SPI-NAND driver, making use of this NAND core, as well as some vendor code to drive a few chips.
1) Can you pointed us the Linux changes along with discussion thread about spi-mem, and spi-nand.
2) If my understanding was correct, spi-mem is replacement for spi-nor controller drivers from driver/mtd/spi-nor in Linux.
3) If so is fsl_qspi spi-nor driver moves to drivers/spi area? yes then how does flash changes handled by spi-mem.
4) we have zynq qspi controller which has extensive features like dual flash(stacked and parallel) does spi-mem support these flash specific changes?
5) Better to send spi-mem and spi-nand changes separately, for better reviewing.
6) We have DM MTD layer in ML, better to send the changes on-top [1]
[1] https://patchwork.ozlabs.org/project/uboot/list/?series=20450
Jagan.