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. Signed-off-by: NVignesh R <vigneshr@ti.com> Tested-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Tested-by: NStefan Roese <sr@denx.de> Tested-by: NHoratiu Vultur <horatiu.vultur@microchip.com> Reviewed-by: NJagan Teki <jagan@openedev.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed
Showing
想要评论请 注册 或 登录