X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsplash.h;h=136eac7402465e34488687ccaa9d6d1bbb1b75b6;hb=5e5fdd2d00489d4aa129e7a9ad289a38563f4387;hp=7ae7a686888c8e94b4051e38789ee3b48adce098;hpb=921ed4e840fecd93ed14e11d1267f476e7e92d29;p=u-boot diff --git a/include/splash.h b/include/splash.h index 7ae7a68688..136eac7402 100644 --- a/include/splash.h +++ b/include/splash.h @@ -27,15 +27,36 @@ enum splash_storage { SPLASH_STORAGE_NAND, SPLASH_STORAGE_SF, + SPLASH_STORAGE_MMC, + SPLASH_STORAGE_USB, + SPLASH_STORAGE_SATA, +}; + +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 */ + char *mtdpart; /* MTD partition for ubi part */ + 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