]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/video/pxa_lcd.c
nand: mxs: convey return code from failed function rather than '0' in mxs_nand_ecc_wr...
[karo-tx-uboot.git] / drivers / video / pxa_lcd.c
index f66f615df595889201c5fd6a4890c0decbb5ab71..2799425a633181981bd3717e203f80be2f118762 100644 (file)
 /* ** HEADER FILES                                                     */
 /************************************************************************/
 
-#include <config.h>
 #include <common.h>
-#include <version.h>
-#include <stdarg.h>
-#include <linux/types.h>
-#include <stdio_dev.h>
-#include <lcd.h>
 #include <asm/arch/pxa-regs.h>
 #include <asm/io.h>
+#include <lcd.h>
+#include <linux/types.h>
+#include <stdarg.h>
+#include <stdio_dev.h>
 
 /* #define DEBUG */
 
@@ -342,6 +340,12 @@ static int pxafb_init (vidinfo_t *vid);
 /* ---------------  PXA chipset specific functions  ------------------- */
 /************************************************************************/
 
+ushort *configuration_get_cmap(void)
+{
+       struct pxafb_info *fbi = &panel_info.pxa;
+       return (ushort *)fbi->palette;
+}
+
 void lcd_ctrl_init (void *lcdbase)
 {
        pxafb_init_mem(lcdbase, &panel_info);