[U-Boot] [PATCH v4 00/11] mtd/sf: Various fixes

Boris Brezillon boris.brezillon at bootlin.com
Sun Dec 2 09:54:21 UTC 2018


Hello,

This is the 4th version of the mtd / sf fixes patchset. This v4 just
adds a new check in del_mtd_device() (and a debug() when
del_mtd_partitions() fails).

Regards,

Boris

P.S.: travis-ci results =>
      https://travis-ci.org/bbrezillon/u-boot/builds/461943011

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      |  23 ++++-
 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, 233 insertions(+), 62 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list