]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spi-nor: move all spansion specifics into spansion.c
authorMichael Walle <michael@walle.cc>
Wed, 23 Feb 2022 13:43:54 +0000 (14:43 +0100)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 25 Feb 2022 16:12:49 +0000 (18:12 +0200)
commite8a9ec2c9b898eb4b7fadb7cd3c603cdd91f8f8d
treed7d549ee8e7b21f3632fdceba89bbec1c3eeba21
parent816e7ebd6fd38805baa12719948d1d5945aef4bd
mtd: spi-nor: move all spansion specifics into spansion.c

The clear status register flags is only available on spansion flashes.
Move all the functions around that into the spanion module.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Tested-by: Pratyush Yadav <p.yadav@ti.com> # on mt35xu512aba, s28hs512t
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20220223134358.1914798-29-michael@walle.cc
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/spansion.c
include/linux/mtd/spi-nor.h