[PATCH v2 41/46] mtd: nandsim: Expose support for weakpages/blocks to userspace

2016-09-21 Thread Daniel Walter
From: Richard Weinberger Allow users to define weakpages/blocks while creating a new nandsim instance. Signed-off-by: Richard Weinberger --- drivers/mtd/nand/nandsim.c | 338 include/linux/mtd/nandsim.h | 7 +- 2

[PATCH v2 41/46] mtd: nandsim: Expose support for weakpages/blocks to userspace

2016-09-21 Thread Daniel Walter
From: Richard Weinberger Allow users to define weakpages/blocks while creating a new nandsim instance. Signed-off-by: Richard Weinberger --- drivers/mtd/nand/nandsim.c | 338 include/linux/mtd/nandsim.h | 7 +- 2 files changed, 285