X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fsplash.h;h=7ae7a686888c8e94b4051e38789ee3b48adce098;hb=d4a9b17df590c1b0b2a187e1491ea7e946a06a07;hp=4dbf754ace94052e4540692e78ee676d95c77531;hpb=7bf71d1f55d31a81ade8dd0fc72f06e4672689d0;p=oweals%2Fu-boot.git diff --git a/include/splash.h b/include/splash.h index 4dbf754ace..7ae7a68688 100644 --- a/include/splash.h +++ b/include/splash.h @@ -21,8 +21,21 @@ #ifndef _SPLASH_H_ #define _SPLASH_H_ + #include +enum splash_storage { + SPLASH_STORAGE_NAND, + SPLASH_STORAGE_SF, +}; + +struct splash_location { + char *name; + enum splash_storage storage; + u32 offset; /* offset from start of storage */ +}; + +int splash_source_load(struct splash_location *locations, uint size); int splash_screen_prepare(void); #ifdef CONFIG_SPLASH_SCREEN_ALIGN