nand: adjust erase/read/write partition/chip size for bad blocks
authorHarvey Chapman <hchapman@3gfp.com>
Tue, 26 Feb 2013 17:57:14 +0000 (17:57 +0000)
committerScott Wood <scottwood@freescale.com>
Wed, 22 May 2013 21:41:46 +0000 (16:41 -0500)
commite834402fa09de8537ab850b971f6e468e3430593
tree5991e925fa2759a83999cd90eee7d7a70bbcea1f
parent98d9d92359956a3d53eaee70c08d40f06828fa87
nand: adjust erase/read/write partition/chip size for bad blocks

Adjust the sizes calculated for whole partition/chip operations by
removing the size of bad blocks so we don't try to erase/read/write
past a partition/chip boundary.

Signed-off-by: Harvey Chapman <hchapman@3gfp.com>
common/cmd_nand.c