[PATCH v3 3/7] mtd: spi-nor: add the framework for SPI NOR
Marek Vasut
marex at denx.de
Tue Dec 17 08:07:32 EST 2013
On Monday, December 16, 2013 at 09:58:46 AM, Huang Shijie wrote:
> This patch cloned most of the m25p80.c. In theory, it adds a new spi-nor
> layer.
>
> Before this patch, the layer is like:
>
> MTD
> ------------------------
> m25p80
> ------------------------
> spi bus driver
> ------------------------
> SPI NOR chip
>
> After this patch, the layer is like:
> MTD
> ------------------------
> spi-nor
> ------------------------
> m25p80
> ------------------------
> spi bus driver
> ------------------------
> SPI NOR chip
>
> With the spi-nor controller driver(Freescale Quadspi), it looks like:
> MTD
> ------------------------
> spi-nor
> ------------------------
> fsl-quadspi
> ------------------------
> SPI NOR chip
>
> New APIs:
> spi_nor_scan: used to scan a spi-nor flash.
Document every single one function with a proper kernel-doc style annotations
please.
Best regards,
Marek Vasut
More information about the linux-arm-kernel
mailing list