mtd: m25p80: make it possible to use large blocks if desired
Some SPI NOR flashes support 4K erase blocks. 4K erase blocks do not
work with UBIFS which needs a minimum erase block size of 15360 bytes.
Also bigger sectors are faster to erase. This patch adds a device tree
option to use the bigger blocks instead of the default 4K blocks.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent f38ba32 commit 3e1adbf832b8f420906e6d5cbf5bec7617545c7e
@Sascha Hauer Sascha Hauer authored on 17 Oct 2014
Showing 5 changed files
View
Documentation/devicetree/bindings/mtd/m25p80.rst 0 → 100644
View
drivers/mtd/devices/m25p80.c
View
drivers/mtd/spi-nor/cadence-quadspi.c
View
drivers/mtd/spi-nor/spi-nor.c
View
include/linux/mtd/spi-nor.h