]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: spi-nor: Use spi-mem dirmap API
authorChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Fri, 19 Aug 2022 09:01:09 +0000 (17:01 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 13 Sep 2022 16:08:41 +0000 (12:08 -0400)
commitdc8b2b7e6426916b48bf24c89642c35f165f3d84
treebc03a523cf1768acdce08daaf827478687738fa2
parent720a1932af0e09edeae97623be1bbccd0f437cfe
mtd: spi-nor: Use spi-mem dirmap API

This adds support for the dirmap API to the spi-nor subsystem, as
introduced in Linux commit df5c21002cf4  ("mtd: spi-nor: use
spi-mem dirmap API").

This patch is synchronize from the following patch
https://patchwork.ozlabs.org/project/uboot/patch/20210205043924.149504-4-seanga2@gmail.com/
The corresponding Linux kernel SHA1 is df5c21002cf4.

Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Acked-by: Pratyush Yadav <p.yadav@ti.com>
drivers/mtd/spi/sf_probe.c
drivers/mtd/spi/spi-nor-core.c
include/linux/mtd/spi-nor.h