From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sun, 29 Nov 2009 23:13:05 +0100 Subject: [U-Boot] [PATCH V2 6/9] lcd: make 16bpp work In-Reply-To: References: Message-ID: <20091129231305.7ed8d15c@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Alessandro Rubini wrote: > #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