[PATCH v3 0/3] Improve MTD dynamic partitioning support

Dan Ehrenberg dehrenberg at chromium.org
Fri Mar 27 12:24:14 PDT 2015


The goal of this patchset is to make mtd dynamic partitioning work
better.
- First, a new config option is added to allow the master device to
  coexist with partitions, which allows partitions to be created or
  removed based on the master even if other partitions exist.
- Second, to identify partitions and improve visibility, 
- Third, remove overlap checks for partitions, which had a bug
  in them and don't seem necessary since static partitions don't
  have overlap checks.

This patchset has gone through a few iterations, initially based on
using one partition as a stand-in for the master, then adding the
master coexisting, and now in this iteration, bringing back the patch
to remove overlap checks, as testing discovered that the overlap
checks were buggy. This version also makes some style improvements.

Dan Ehrenberg (3):
  mtd: part: Create the master device node when partitioned
  mtd: part: Add sysfs variable for offset of partition
  mtd: part: Remove partition overlap checks

 drivers/mtd/Kconfig   | 13 +++++++++++
 drivers/mtd/mtdcore.c | 52 ++++++++++++++++++++++++++++-------------
 drivers/mtd/mtdpart.c | 64 ++++++++++++++++++++++++++++++++++-----------------
 3 files changed, 92 insertions(+), 37 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c




More information about the linux-mtd mailing list