linux_dsm_epyc7002/include/linux/mtd
Huang Shijie b199489d37 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>
2014-04-14 11:22:58 -07:00
..
bbm.h mtd: nand_bbt: kill NAND_BBT_SCANALLPAGES 2013-11-06 23:33:14 -08:00
blktrans.h mtd_blktrans_ops->release() should return void 2013-05-05 21:31:22 -04:00
cfi_endian.h
cfi.h
concat.h
doc2000.h
flashchip.h
fsmc.h mtd: nand: fsmc: update of OF support 2013-08-05 20:48:49 +01:00
ftl.h
gen_probe.h
inftl.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h mtd: map: fixed bug in 64-bit systems 2013-11-06 23:32:59 -08:00
mtd.h mtd: Add a retlen parameter to _get_{fact,user}_prot_info 2014-03-10 22:42:28 -07:00
mtdram.h mtd: mtdram: add missing 'const' 2014-01-20 11:55:23 -08:00
nand_bch.h
nand_ecc.h
nand-gpio.h
nand.h mtd: nand: fix GET/SET_FEATURES address on 16-bit devices 2014-03-25 23:31:26 -07:00
ndfc.h
nftl.h
onenand_regs.h
onenand.h
partitions.h mtd: make register_mtd_parser return void 2014-01-03 11:22:22 -08:00
pfow.h
physmap.h mtd: physmap: add const qualifiers 2013-04-05 13:02:40 +01:00
pismo.h
plat-ram.h mtd: plat-ram: add const quilifiers 2013-04-05 13:02:33 +01:00
qinfo.h
sh_flctl.h
sharpsl.h
spear_smi.h
spi-nor.h mtd: spi-nor: add the framework for SPI NOR 2014-04-14 11:22:58 -07:00
super.h
ubi.h
xip.h