]> git.dujemihanovic.xyz Git - u-boot.git/commit
Followup fixes on the mtdparts spread patchset
authorScott Wood <scottwood@freescale.com>
Thu, 9 Sep 2010 20:40:03 +0000 (15:40 -0500)
committerScott Wood <scottwood@freescale.com>
Mon, 11 Oct 2010 20:11:01 +0000 (15:11 -0500)
commit36650ca9f16ac507bb0926d3a3ec5340986fcce0
tree58a54ad1fe45b7f51df8f9a04e640f04a6cf8e47
parent59a50d2de1f9c037166a6f86e6e6cdc1670aa155
Followup fixes on the mtdparts spread patchset

Consolidate some code in mtd_get_len_incl_bad(), and fix a condition
where a valid partition could be reported as truncated if it has a
good block at the end of the device (unlikely, since the BBT is usually
there).

Fix mid-block declarations in net_part_size().

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: Ben Gardiner <bengardiner@nanometrics.ca>
common/cmd_mtdparts.c
drivers/mtd/mtdcore.c