summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-06-17 13:00:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-06-18 09:01:01 +0200
commit745594d51afa71b01bb5bfda969da19aa079d214 (patch)
treed6f2b87bd060a124fcf6d655f968506689d41bdf /include/linux/mtd
parente9db2079a55162821e4566efdef5b3d3b5028e88 (diff)
downloadbarebox-745594d51afa71b01bb5bfda969da19aa079d214.tar.gz
barebox-745594d51afa71b01bb5bfda969da19aa079d214.tar.xz
fs: ubifs: Implement Linux rootarg
Add the parameter to boot from ubifs fileystems. This assumes that there will be only one UBI device registered in the kernel, otherwise there is no way to predict the ubi number. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/ubi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h
index 274ec4ee41..0614681d73 100644
--- a/include/linux/mtd/ubi.h
+++ b/include/linux/mtd/ubi.h
@@ -154,6 +154,7 @@ struct ubi_device_info {
int max_write_size;
int ro_mode;
dev_t cdev;
+ struct mtd_info *mtd;
};
/*