From: Rodolfo Giometti <giometti@enneenne.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 4/4] PXA27x LCD and boot logo support
Date: Thu, 15 Feb 2007 20:06:27 +0100 [thread overview]
Message-ID: <20070215190627.GE12662@enneenne.com> (raw)
In-Reply-To: <20070215190414.GD12662@enneenne.com>
Support for 16bpp LCDs.
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
-------------- 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
prev parent reply other threads:[~2007-02-15 19:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-15 18:59 [U-Boot-Users] [PATCH 1/4] PXA27x LCD and boot logo support Rodolfo Giometti
2007-02-15 19:01 ` [U-Boot-Users] [PATCH 2/4] " Rodolfo Giometti
2007-02-15 19:04 ` [U-Boot-Users] [PATCH 3/4] " Rodolfo Giometti
2007-02-15 19:06 ` Rodolfo Giometti [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070215190627.GE12662@enneenne.com \
--to=giometti@enneenne.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox