]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/atmel_hlcdfb.c
Merge branch 'master' of http://git.denx.de/u-boot-sunxi
[u-boot] / drivers / video / atmel_hlcdfb.c
index 935ae42a9c873904ff8e7a174332438fe5d7d34c..0ce237094dd79ee3e4a1db42b6eebb377953b747 100644 (file)
 #include <lcd.h>
 #include <atmel_hlcdc.h>
 
+#if defined(CONFIG_LCD_LOGO)
+#include <bmp_logo.h>
+#endif
+
 /* configurable parameters */
 #define ATMEL_LCDC_CVAL_DEFAULT                0xc8
 #define ATMEL_LCDC_DMA_BURST_LEN       8
@@ -37,6 +41,15 @@ void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue)
                panel_info.mmio + ATMEL_LCDC_LUT(regno));
 }
 
+ushort *configuration_get_cmap(void)
+{
+#if defined(CONFIG_LCD_LOGO)
+       return bmp_logo_palette;
+#else
+       return NULL;
+#endif
+}
+
 void lcd_ctrl_init(void *lcdbase)
 {
        unsigned long value;