diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-01-11 11:45:18 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-01-12 11:02:18 +0100 |
commit | dffaa1d4d1cfabdf325967dd9766adde7320e05e (patch) | |
tree | 992115ea6994f8f22a4efd6a1c763d08e73e7fdc /include/mtd/ubifs-media.h | |
parent | 1bfee8660131fca7a18f68e9548a18ca6b3378a0 (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 'include/mtd/ubifs-media.h')
0 files changed, 0 insertions, 0 deletions