From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodolfo Giometti Date: Thu, 15 Feb 2007 20:06:27 +0100 Subject: [U-Boot-Users] [PATCH 4/4] PXA27x LCD and boot logo support In-Reply-To: <20070215190414.GD12662@enneenne.com> References: <20070215185912.GB12662@enneenne.com> <20070215190135.GC12662@enneenne.com> <20070215190414.GD12662@enneenne.com> Message-ID: <20070215190627.GE12662@enneenne.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Support for 16bpp LCDs. Signed-off-by: Rodolfo Giometti -------------- next part -------------- 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