linux_dsm_epyc7002/drivers/mtd/spi-nor
Brian Norris c67cbb839d mtd: spi-nor: provide default erase_sector implementation
Some spi-nor drivers perform sector erase by duplicating their
write_reg() command. Let's not require that the driver fill this out,
and provide a default instead.

Tested on m25p80.c and Medatek's MT8173 SPI NOR flash driver.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-11-19 13:34:44 -08:00
..
fsl-quadspi.c mtd: fsl-quadspi: possible NULL dereference 2015-11-18 10:31:23 -08:00
Kconfig mtd: fsl-quadspi: allow building for other ARCHes with COMPILE_TEST 2015-10-19 09:50:45 -07:00
Makefile mtd: spi-nor: add driver for NXP SPI Flash Interface (SPIFI) 2015-08-14 11:22:55 -07:00
nxp-spifi.c mtd: spi-nor: drop unnecessary partition parser data 2015-11-11 13:58:51 -08:00
spi-nor.c mtd: spi-nor: provide default erase_sector implementation 2015-11-19 13:34:44 -08:00