mtd: Add subpagesize to mtd_info_user
ubiformat needs the subpagesize to work correctly. The kernel uses
sysfs to pass the subpagesize, but in barebox we have the possibility
to extend struct mtd_info_user. Add a corresponding field and use it
in ubiformat.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 080a4e9 commit d7fe5e2263ae24df5938c220b62029f6131543a1
@Sascha Hauer Sascha Hauer authored on 20 Dec 2013
Showing 4 changed files
View
drivers/mtd/core.c
View
fs/devfs-core.c
View
include/linux/mtd/mtd-abi.h
View
lib/libmtd.c