linux/drivers/mtd/spi-nor
Cyrille Pitchen ba3ae6a1d4 mtd: spi-nor: add a stateless method to support memory size above 128Mib
This patch provides an alternative mean to support memory above 16MiB
(128Mib) by replacing 3byte address op codes by their associated 4byte
address versions.

Using the dedicated 4byte address op codes doesn't change the internal
state of the SPI NOR memory as opposed to using other means such as
updating a Base Address Register (BAR) and sending command to enter/leave
the 4byte mode.

Hence when a CPU reset occurs, early bootloaders don't need to be aware
of BAR value or 4byte mode being enabled: they can still access the first
16MiB of the SPI NOR memory using the regular 3byte address op codes.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Tested-by: Vignesh R <vigneshr@ti.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
2017-02-10 13:56:06 +01:00
..
aspeed-smc.c mtd: aspeed: add memory controllers for the Aspeed AST2400 SoC 2017-02-10 13:54:54 +01:00
atmel-quadspi.c mtd: atmel-quadspi: add driver for Atmel QSPI controller 2016-07-15 17:43:45 -07:00
cadence-quadspi.c mtd: spi-nor: cqspi: Fix build on arches missing readsl/writesl 2017-01-04 09:54:03 +01:00
fsl-quadspi.c mtd: spi-nor: constify fsl_qspi_devtype_data 2016-11-26 17:45:06 +01:00
hisi-sfc.c mtd: spi-nor: add hisilicon spi-nor flash controller driver 2016-07-13 17:49:45 -07:00
Kconfig mtd: aspeed: add memory controllers for the Aspeed AST2400 SoC 2017-02-10 13:54:54 +01:00
Makefile mtd: spi-nor: add memory controllers for the Aspeed AST2500 SoC 2017-02-10 13:54:53 +01:00
mtk-quadspi.c mtd: mtk-nor: remove duplicated include from mtk-quadspi.c 2016-07-19 12:55:28 -07:00
nxp-spifi.c mtd: spi-nor: stop passing around retlen 2016-06-01 17:22:52 -07:00
spi-nor.c mtd: spi-nor: add a stateless method to support memory size above 128Mib 2017-02-10 13:56:06 +01:00