]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/video/atmel_hlcdfb.c
lcd: split configuration_get_cmap
[karo-tx-uboot.git] / drivers / video / atmel_hlcdfb.c
index 30c8ccb3a5bf2a33aa6fd97e6dc7c3589cfca29b..d8496f20cb7afb921874b58d3d944f429afa66ab 100644 (file)
@@ -50,6 +50,15 @@ ushort *configuration_get_cmap(void)
 #endif
 }
 
+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;