diff options
author | Huang Shijie <b32955@freescale.com> | 2014-02-24 10:37:37 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:36:04 (GMT) |
commit | 272e90f38f4a8a9512ce6eab4a9e147cc8c2d846 (patch) | |
tree | 75f4b8a245ca52656070c71f9b722528e98dfd9a /.gitignore | |
parent | bdc091067bc1b1183baabe8446519fbae2e55871 (diff) | |
download | linux-fsl-qoriq-272e90f38f4a8a9512ce6eab4a9e147cc8c2d846.tar.xz |
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>
Acked-by: Marek Vasut <marex@denx.de>
[Brian: rebased to include additional m25p_ids[] entry]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Change-Id: I7c22c4c83350eac8c325ccd8292450fde79bb069
Reviewed-on: http://git.am.freescale.net:8181/15507
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Tested-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions