diff options
author | Huang Shijie <b32955@freescale.com> | 2013-10-28 13:29:13 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:57:45 -0500 |
commit | bb1c348656c4cff3db52e11fc671fcfdce14328c (patch) | |
tree | b94e2f65dd64d4ea7ddc10709ce6ca33daf88599 /firmware | |
parent | 3f1e743b67ac556896c4cec6642f61fdc3495944 (diff) |
ENGR00300430-3 mtd: spi-nor: add the framework for SPI NOR
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.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions