projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pinctrl: Add help text to Kconfig
[oweals/u-boot.git]
/
drivers
/
video
/
atmel_hlcdfb.c
diff --git
a/drivers/video/atmel_hlcdfb.c
b/drivers/video/atmel_hlcdfb.c
index 935ae42a9c873904ff8e7a174332438fe5d7d34c..0ce237094dd79ee3e4a1db42b6eebb377953b747 100644
(file)
--- a/
drivers/video/atmel_hlcdfb.c
+++ b/
drivers/video/atmel_hlcdfb.c
@@
-13,6
+13,10
@@
#include <lcd.h>
#include <atmel_hlcdc.h>
#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
/* 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));
}
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;
void lcd_ctrl_init(void *lcdbase)
{
unsigned long value;