summaryrefslogtreecommitdiff
path: root/drivers/mtd/sm_ftl.c
diff options
context:
space:
mode:
authorDan Ehrenberg <dehrenberg@chromium.org>2015-04-02 15:15:12 -0700
committerBrian Norris <computersforpeace@gmail.com>2015-04-05 17:44:03 -0700
commit3a434f66e6dab645d74a59c95651cdbe16497a50 (patch)
treef5e2436ddb07c5275abc029db9ff82f98914a6da /drivers/mtd/sm_ftl.c
parenta62c24d75529118d10c45350c3b75715d52ff574 (diff)
mtd: part: Remove partition overlap checks
This patch makes MTD dynamic partitioning more flexible by removing overlap checks for dynamic partitions. I don't see any particular reason why overlapping dynamic partitions should be prohibited while static partitions are allowed to overlap freely. The checks previously had an off-by-one error, where 'end' should be one less than what it is currently set at, and adding partitions out of increasing order will fail. Disabling the checks resolves this issue. Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/sm_ftl.c')
0 files changed, 0 insertions, 0 deletions