mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Stefano Babic
parent
bcbb6448b9
commit
870dd3095f
@@ -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);
|
||||
|
Reference in New Issue
Block a user