mtd: when creating bitflips the offset has to be page aligned
mtd_peb_create_bitflips() assumes the offset is page aligned. Enforce
this and in the nand_bitlfip command print a warning if it's not
aligned.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 822a04f commit a8ef43b995fcd4c92edbf9492ac0378f8dc2441a
@Sascha Hauer Sascha Hauer authored on 14 Mar 2017
Showing 2 changed files
View
commands/nand-bitflip.c
View
drivers/mtd/peb.c