diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2015-10-29 11:54:41 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-11-16 12:01:35 +0100 |
commit | 870dd3095facaada8b671d55affc2d060355725f (patch) | |
tree | 3010bfd213bc8f82969a84fd77801e28fc709b1c /include | |
parent | bcbb6448b937d93179ce267fa536a81d867cbf2e (diff) |
splash_source: add support for filesystem formatted mmc
Add support for loading splash image from an SD card formatted with
a filesystem. Update boards to maintain original behavior where needed.
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'include')
-rw-r--r-- | include/splash.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/splash.h b/include/splash.h index 7ae7a686888..d1fba693254 100644 --- a/include/splash.h +++ b/include/splash.h @@ -27,12 +27,20 @@ enum splash_storage { SPLASH_STORAGE_NAND, SPLASH_STORAGE_SF, + SPLASH_STORAGE_MMC, +}; + +enum splash_flags { + SPLASH_STORAGE_RAW, + SPLASH_STORAGE_FS, }; struct splash_location { char *name; enum splash_storage storage; + enum splash_flags flags; u32 offset; /* offset from start of storage */ + char *devpart; /* Use the load command dev:part conventions */ }; int splash_source_load(struct splash_location *locations, uint size); |