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: NScott Wood <scottwood@freescale.com> Reviewed-by: NBen Gardiner <bengardiner@nanometrics.ca>
Showing
想要评论请 注册 或 登录