]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spinand: Use the spi-mem dirmap API
authorBoris Brezillon <bbrezillon@kernel.org>
Thu, 24 Jan 2019 14:56:43 +0000 (15:56 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 21 Mar 2019 15:44:51 +0000 (16:44 +0100)
commite8d6f40c24304bd3885d2d226bb8f115d2ebee33
tree2f179a0260ef1e2d40289db798e5b208fe241ba1
parent805099b2fb57eba3d69bc38aeb447dfe76b0ebb9
mtd: spinand: Use the spi-mem dirmap API

Make use of the spi-mem direct mapping API to let advanced controllers
optimize read/write operations when they support direct mapping.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Stefan Roese <sr@denx.de>
drivers/mtd/nand/spi/core.c
include/linux/mtd/spinand.h