diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-02-01 12:41:47 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-02-01 12:41:47 +0000 |
commit | 4156f292c157b8e118ac05ea4b8e861c58531eba (patch) | |
tree | 9932b5f57903a7ff36021e9f068e08dca1956625 /target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h | |
parent | e1491b341b212000bc26f68b55d9a060b9c48625 (diff) | |
download | upstream-4156f292c157b8e118ac05ea4b8e861c58531eba.tar.gz upstream-4156f292c157b8e118ac05ea4b8e861c58531eba.tar.bz2 upstream-4156f292c157b8e118ac05ea4b8e861c58531eba.zip |
kernel: mtdsplit: detect UBI partition when looking for rootfs
This allows mtdsplit parsers work with UBI which is very popular on
NAND flases.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48599
Diffstat (limited to 'target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h')
-rw-r--r-- | target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h index b757758685..42841ef541 100644 --- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h +++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h @@ -22,6 +22,7 @@ enum mtdsplit_part_type { MTDSPLIT_PART_TYPE_UNK = 0, MTDSPLIT_PART_TYPE_SQUASHFS, MTDSPLIT_PART_TYPE_JFFS2, + MTDSPLIT_PART_TYPE_UBI, }; #ifdef CONFIG_MTD_SPLIT |