X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsplash.h;h=228aff441b87f46c3747d5376773b559898ebea5;hb=d99894dd3a713ea6226ac39a7e332b55cf8aca49;hp=25df1cf5ad80395a1074c0c192dcf4b72f9db877;hpb=2313d48445e59f063ec9a3b4940fe8252737db76;p=u-boot diff --git a/include/splash.h b/include/splash.h index 25df1cf5ad..228aff441b 100644 --- a/include/splash.h +++ b/include/splash.h @@ -33,8 +33,9 @@ enum splash_storage { }; enum splash_flags { - SPLASH_STORAGE_RAW, - SPLASH_STORAGE_FS, + SPLASH_STORAGE_RAW, /* Stored in raw memory */ + SPLASH_STORAGE_FS, /* Stored within a file system */ + SPLASH_STORAGE_FIT, /* Stored inside a FIT image */ }; struct splash_location { @@ -47,7 +48,16 @@ struct splash_location { char *ubivol; /* UBI volume-name for ubifsmount */ }; +#ifdef CONFIG_SPLASH_SOURCE int splash_source_load(struct splash_location *locations, uint size); +#else +static inline int splash_source_load(struct splash_location *locations, + uint size) +{ + return 0; +} +#endif + int splash_screen_prepare(void); #ifdef CONFIG_SPLASH_SCREEN_ALIGN