summaryrefslogtreecommitdiff
path: root/common/splash.c
diff options
context:
space:
mode:
authorJulien Masson <[email protected]>2022-10-17 10:33:21 +0200
committerAnatolij Gustschin <[email protected]>2022-10-30 20:01:40 +0100
commita638d9a47c8ebc36ded79726e48b46ededc64e59 (patch)
tree168d6f134c2056137311c9d2329bd708873eaacd /common/splash.c
parentc830e285f475e580eb45290d54e9d174a57a7d71 (diff)
splash: support raw image from MMC
The user has now the choice to specify the splash location in the MMC as a raw storage. Signed-off-by: Julien Masson <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'common/splash.c')
-rw-r--r--common/splash.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/splash.c b/common/splash.c
index 0e520cc1030..5206e35f74d 100644
--- a/common/splash.c
+++ b/common/splash.c
@@ -40,6 +40,12 @@ static struct splash_location default_splash_locations[] = {
.devpart = "0:1",
},
{
+ .name = "mmc_raw",
+ .storage = SPLASH_STORAGE_MMC,
+ .flags = SPLASH_STORAGE_RAW,
+ .devpart = "0:1",
+ },
+ {
.name = "usb_fs",
.storage = SPLASH_STORAGE_USB,
.flags = SPLASH_STORAGE_FS,