[PATCH v2 0/5] improve mtdpart robustness

Michal Suchanek
2015-07-31T11:19:51Z

Hello,

this is v2 series following the discussion about conflict between s3c64xx and
ofpart.

I tried loading some fabricated ofpart partitions and it appears to work
reasonably.

ofpart assigns partition numbers backwards from bottom to top but that's
probably not something to be concerned about. Sorting partitions by offset
would be nice but that's way beyond just making the two drivers not conflict.

Thanks

Michal

Michal Suchanek (5):
mtd: mtdpart: add debug prints to partition parser.
mtd: mtdpart: Do not fail mtd probe when parsing partitions fails.
mtd: ofpart: update devicetree binding specification
mtd: ofpart: document the lock flag.
mtd: ofpart: move ofpart partitions to a dedicated dt node

.../devicetree/bindings/mtd/partition.txt | 69 +++++++++++++---------
drivers/mtd/mtdpart.c | 14 ++++-
drivers/mtd/ofpart.c | 56 +++++++++++++-----
3 files changed, 93 insertions(+), 46 deletions(-)

--
2.1.4