Home
last modified time | relevance | path

Searched hist:e57032cac7e98f7912ebca4c6eab295007271c4b (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/spi/
H A Dspi-nor-core.ce57032cac7e98f7912ebca4c6eab295007271c4b Tue Feb 05 05:59:18 UTC 2019 Vignesh R <vigneshr@ti.com> UPSTREAM: mtd: spi: spi-nor-core: Add SPI MEM support

Many SPI controllers have special MMIO interfaces which provide
accelerated read/write access but require knowledge of flash parameters
to make use of it. Recent spi-mem layer provides a way to support such
controllers.
Therefore, add spi-mem support to spi-nor-core as a way to support SPI
controllers with MMIO interface. SPI MEM layer takes care of translating
spi_mem_ops to spi_xfer()s in case of legacy SPI controllers.

Change-Id: Ib62acebae33a6c21961d0c2f2630267c1346d193
Signed-off-by: Vignesh R <vigneshr@ti.com>
Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tested-by: Stefan Roese <sr@denx.de>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 492e65b29b4c75ba6139577e10c9a5a6747ffa5a)