video: consolidate splash screen alignment code
[platform/kernel/u-boot.git] / include / splash.h
index a8dd151..89ee7b2 100644 (file)
 
 int splash_screen_prepare(void);
 
+#ifdef CONFIG_SPLASH_SCREEN_ALIGN
+void splash_get_pos(int *x, int *y);
+#else
+static inline void splash_get_pos(int *x, int *y) { }
+#endif
+
+#define BMP_ALIGN_CENTER       0x7FFF
 
 #endif