]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mtdparts: new add.spread: add part skipping bad blocks
authorBen Gardiner <bengardiner@nanometrics.ca>
Tue, 31 Aug 2010 21:48:04 +0000 (17:48 -0400)
committerScott Wood <scottwood@freescale.com>
Mon, 11 Oct 2010 20:11:01 +0000 (15:11 -0500)
commit59a50d2de1f9c037166a6f86e6e6cdc1670aa155
treec376d14563d7a0b23591a6df49f0630ceb01d226
parentca75b20ebbfd40189a0157c7a2ef4360b0885cc4
mtdparts: new add.spread: add part skipping bad blocks

This patch adds a new 'mtdparts add' variant: add.spread. This command variant
adds a new partition to the mtdparts variable but also increases the partitions
size by skipping bad blocks and aggregating any additional bad blocks found at
the end of the partition.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
CC: Wolfgang Denk <wd@denx.de>
CC: Scott Wood <scottwood@freescale.com>
common/cmd_mtdparts.c