obj-$(CONFIG_I2C_EDID) += edid.o
obj-$(CONFIG_KALLSYMS) += kallsyms.o
obj-y += splash.o
+obj-$(CONFIG_SPLASH_SOURCE) += splash_source.o
obj-$(CONFIG_LCD) += lcd.o lcd_console.o
+ obj-$(CONFIG_LCD_DT_SIMPLEFB) += lcd_simplefb.o
obj-$(CONFIG_LYNXKDI) += lynxkdi.o
obj-$(CONFIG_MENU) += menu.o
obj-$(CONFIG_MODEM_SUPPORT) += modem.o
#ifndef _SPLASH_H_
#define _SPLASH_H_
+
+ #include <errno.h>
+
+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
static inline void splash_get_pos(int *x, int *y) { }
#endif
+ #if defined(CONFIG_SPLASH_SCREEN) && defined(CONFIG_LCD)
+ int lcd_splash(ulong addr);
+ #else
+ static inline int lcd_splash(ulong addr)
+ {
+ return -ENOSYS;
+ }
+ #endif
+
#define BMP_ALIGN_CENTER 0x7FFF
#endif