
Hello,
This is the 3rd version of the mtd / sf fixes patchset. This v3 contains 2 new patches fixing bugs in the spi-flash layer.
With this version I hope to have addressed all the weird interactions between the spi-flash and MTD layer (tested on a platform with a spi-nor and a spi-nand)
Heiko, let me know if still issues with this version.
Thanks,
Boris
Boris Brezillon (11): mtd: Add a function to report when the MTD dev list has been updated mtd: Parse mtdparts/mtdids again when the MTD list has been updated mtd: Delete partitions attached to the device when a device is deleted mtd: sf: Make sure we don't register the same device twice mtd: Use get_mtdids() instead of env_get("mtdids") in mtd_search_alternate_name() mtd: Be more strict on the "mtdparts=" prefix check mtd: Make sure the name passed in mtdparts fits in mtd_name[] mtd: Make sure we don't parse MTD partitions belonging to another dev mtd: Don't stop MTD partition creation when it fails on one device mtd: sf: Unregister the MTD device prior to removing the spi_flash obj mtd: sf: Make sf_mtd.c more robust
drivers/mtd/mtd_uboot.c | 185 +++++++++++++++++++++++++------------ drivers/mtd/mtdcore.c | 17 +++- drivers/mtd/mtdpart.c | 12 +++ drivers/mtd/spi/sf_mtd.c | 48 +++++++++- drivers/mtd/spi/sf_probe.c | 9 ++ include/linux/mtd/mtd.h | 18 ++++ 6 files changed, 227 insertions(+), 62 deletions(-)