X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fsplash.h;h=7fd2de8fea1dd582f5b6f9e936d86b764bde6ec4;hb=476e991452433b72f280147c93435ccd9423639f;hp=136eac7402465e34488687ccaa9d6d1bbb1b75b6;hpb=fe34b6a4845476208ca7d19a35179e56bebf3877;p=oweals%2Fu-boot.git diff --git a/include/splash.h b/include/splash.h index 136eac7402..7fd2de8fea 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 { @@ -65,10 +66,10 @@ void splash_get_pos(int *x, int *y); static inline void splash_get_pos(int *x, int *y) { } #endif -#if defined(CONFIG_SPLASH_SCREEN) && defined(CONFIG_LCD) -int lcd_splash(ulong addr); +#if defined(CONFIG_SPLASH_SCREEN) && defined(CONFIG_CMD_BMP) +int splash_display(void); #else -static inline int lcd_splash(ulong addr) +static inline int splash_display(void) { return -ENOSYS; }