All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 6/9] lcd: make 16bpp work
Date: Sun, 29 Nov 2009 23:13:05 +0100	[thread overview]
Message-ID: <20091129231305.7ed8d15c@wker> (raw)
In-Reply-To: <b6ce8b70a4033f76f619864f73d5d53cf4704cd7.1259185128.git.rubini@unipv.it>

Alessandro Rubini <rubini-list@gnudd.com> wrote:

<snip>
>  #elif LCD_BPP == LCD_COLOR16
> -			for (c=0; c<16; ++c) {
> -				*d++ = (bits & 0x80) ?
> -						lcd_color_fg : lcd_color_bg;
> +			for (c=0; c<8; ++c) {
> +				*d++ = (bits & 0x80) ? 0xffff : 0;

I think we should use 'lcd_color_fg' and 'lcd_color_bg' here.

Best regards,
Anatolij

  reply	other threads:[~2009-11-29 22:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <84aa128b71cbe6595dd5859c64a592b122cef723.1259185128.git.rubini@ unipv.it>
2009-11-25 21:46 ` [U-Boot] [PATCH V2 0/9] display and keypad support for nhk8815 Alessandro Rubini
2009-11-25 21:46   ` [U-Boot] [PATCH V2 1/9] nhk8815: change the order of initialization Alessandro Rubini
2009-11-25 21:46   ` [U-Boot] [PATCH V2 2/9] video: add amba-clcd prime-cell Alessandro Rubini
2009-11-29 21:24     ` Anatolij Gustschin
2009-11-29 21:44       ` Alessandro Rubini
2009-11-29 23:15         ` Anatolij Gustschin
2009-11-29 23:31           ` Alessandro Rubini
2009-11-29 22:21       ` Wolfgang Denk
2009-11-25 21:46   ` [U-Boot] [PATCH V2 3/9] include/nomadik.h: add physical address for cldc Alessandro Rubini
2009-11-25 21:47   ` [U-Boot] [PATCH V2 4/9] drivers/misc: add stmpe2401 port extender and keypad controller Alessandro Rubini
2009-11-25 21:47   ` [U-Boot] [PATCH V2 5/9] nhk8815.h: define we need stmpe Alessandro Rubini
2009-11-25 21:47   ` [U-Boot] [PATCH V2 6/9] lcd: make 16bpp work Alessandro Rubini
2009-11-29 22:13     ` Anatolij Gustschin [this message]
2009-11-25 21:47   ` [U-Boot] [PATCH V2 7/9] nhk8815: added keypad Alessandro Rubini
2009-11-25 21:47   ` [U-Boot] [PATCH V2 8/9] nhk8815: start lower in RAM, so the 800x480 frame buffer fits Alessandro Rubini
2009-11-25 21:47   ` [U-Boot] [PATCH V2 9/9] nhk8815: added lcd support Alessandro Rubini
     [not found]   ` <84aa128b71cbe6595dd5859c64a592b122cef723.1259185128.git.rubini @unipv.it>
2009-11-26  9:17     ` [U-Boot] [PATCH V2 2/9] video: add amba-clcd prime-cell Alessandro Rubini
2009-12-05  0:26       ` Wolfgang Denk

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=20091129231305.7ed8d15c@wker \
    --to=agust@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.