mtd: spi: Switch to new SPI NOR framework
authorVignesh R <[email protected]>
Tue, 5 Feb 2019 05:59:23 +0000 (11:29 +0530)
committerJagan Teki <[email protected]>
Thu, 7 Feb 2019 10:03:21 +0000 (15:33 +0530)
commitc4e8862308d420e85c227498797c32410d9e47a8
tree07857b240f7fad0d5cb4f652122a668349370e62
parent2ee6705be01c430ad9f71c0bac02d1d59819072c
mtd: spi: Switch to new SPI NOR framework

Switch spi_flash_* interfaces to call into new SPI NOR framework via MTD
layer. Fix up sf_dataflash to work in legacy way. And update sandbox to
use new interfaces/definitions

Signed-off-by: Vignesh R <[email protected]>
Tested-by: Simon Goldschmidt <[email protected]>
Tested-by: Stefan Roese <[email protected]>
Tested-by: Horatiu Vultur <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Tested-by: Jagan Teki <[email protected]> #zynq-microzed
drivers/mtd/spi/Kconfig
drivers/mtd/spi/Makefile
drivers/mtd/spi/sandbox.c
drivers/mtd/spi/sf_dataflash.c
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_probe.c
drivers/mtd/spi/spi-nor-core.c
drivers/spi/stm32_qspi.c
include/spi_flash.h