[PATCH] drivers: mtd: m25p80: Add quad read support.
Huang Shijie
b32955 at freescale.com
Wed Sep 25 01:48:40 EDT 2013
于 2013年09月24日 20:10, Sourav Poddar 写道:
> + flash->quad_read = false;
> + if (spi->mode&& SPI_RX_QUAD) {
> + quad_enable(flash);
> + flash->mtd._read = m25p80_quad_read;
> + flash->quad_read = true;
> + } else
> + flash->mtd._read = m25p80_read;
How do you know the NOR support the QUAD read? by the spi->mode?
i think you'd better add a DT node such as "m25p, quad-read".
thanks
Huang Shijie
More information about the linux-mtd
mailing list