public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] PXAFB: Adds 16bits color depth support.
@ 2007-05-25 15:29 Rodolfo Giometti
  0 siblings, 0 replies; only message in thread
From: Rodolfo Giometti @ 2007-05-25 15:29 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
---
 cpu/pxa/pxafb.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cpu/pxa/pxafb.c b/cpu/pxa/pxafb.c
index b2caa73..cd529e3 100644
--- a/cpu/pxa/pxafb.c
+++ b/cpu/pxa/pxafb.c
@@ -148,7 +148,7 @@ vidinfo_t panel_info = {
 
 /*----------------------------------------------------------------------*/
 
-#if LCD_BPP == LCD_COLOR8
+#if LCD_BPP == LCD_COLOR8 || LCD_BPP == LCD_COLOR16
 void lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue);
 #endif
 #if LCD_BPP == LCD_MONOCHROME
@@ -200,7 +200,7 @@ lcd_getcolreg (ushort regno, ushort *red, ushort *green, ushort *blue)
 #endif /* NOT_USED_SO_FAR */
 
 /*----------------------------------------------------------------------*/
-#if LCD_BPP == LCD_COLOR8
+#if LCD_BPP == LCD_COLOR8 || LCD_BPP == LCD_COLOR16
 void
 lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue)
 {
@@ -225,7 +225,7 @@ lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue)
 		red, green, blue,
 		palette[regno]);
 }
-#endif /* LCD_COLOR8 */
+#endif /* LCD_COLOR8 || LCD_BPP == LCD_COLOR16 */
 
 /*----------------------------------------------------------------------*/
 #if LCD_BPP == LCD_MONOCHROME
-- 
1.5.1.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-25 15:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-25 15:29 [U-Boot-Users] [PATCH] PXAFB: Adds 16bits color depth support Rodolfo Giometti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox