Skip to content
Commit 36650ca9 authored by Scott Wood's avatar Scott Wood
Browse files

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: default avatarScott Wood <scottwood@freescale.com>
Reviewed-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
parent 59a50d2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment