aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEran Matityahu2016-06-07 10:38:37 +0300
committerHeiko Schocher2016-06-14 05:33:02 +0200
commit1cb075c6c6ce1a46c3423e63013686e74457275c (patch)
treed6610fd3e273839a53edf2a439380005685b7113 /include
parentc1f51e0f3edca57273ff524714b69345ce627996 (diff)
splash_source: add support for ubifs formatted nand
Add support for loading splash image from NAND Flash formatted with a (UBI) filesystem. Signed-off-by: Eran Matityahu <eran.m@variscite.com> Cc: Heiko Schocher <hs@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'include')
-rw-r--r--include/splash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/splash.h b/include/splash.h
index f0755ca695f..25df1cf5ad8 100644
--- a/include/splash.h
+++ b/include/splash.h
@@ -43,6 +43,8 @@ struct splash_location {
enum splash_flags flags;
u32 offset; /* offset from start of storage */
char *devpart; /* Use the load command dev:part conventions */
+ char *mtdpart; /* MTD partition for ubi part */
+ char *ubivol; /* UBI volume-name for ubifsmount */
};
int splash_source_load(struct splash_location *locations, uint size);