summaryrefslogtreecommitdiff
path: root/ubi-utils/ubirsvol.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-01-11 11:45:18 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-01-12 11:02:18 +0100
commitdffaa1d4d1cfabdf325967dd9766adde7320e05e (patch)
tree992115ea6994f8f22a4efd6a1c763d08e73e7fdc /ubi-utils/ubirsvol.c
parent1bfee8660131fca7a18f68e9548a18ca6b3378a0 (diff)
nandwrite: add stricter sanity checking for blockalign
This patch makes sure that a virtual erase block is always composed of a postivie number of erase blocks (i.e. 1 or more) and enforces the block alignment to be a power of two as suggested by the help text and assumed throughout the program. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubi-utils/ubirsvol.c')
0 files changed, 0 insertions, 0 deletions