lcd: remove CONFIG_ATMEL_LCD ifdefs from lcd_setfgcolor
authorAnatolij Gustschin <agust@denx.de>
Sat, 12 Dec 2009 20:20:57 +0000 (21:20 +0100)
committerAnatolij Gustschin <agust@denx.de>
Wed, 27 Jan 2010 20:23:30 +0000 (21:23 +0100)
commita6e42ed097220a82870a32f4e60ac8863a8b05ab
tree8ae656e7dce2f98a69a360afc9751aad662d5e72
parentd841978ea616e661e48f8da4045a71d6217823bd
lcd: remove CONFIG_ATMEL_LCD ifdefs from lcd_setfgcolor

Not all boards defining LCD_COLOR16 are able to set
lcd_color_fg/lcd_color_bg correctly. The issue seems to
be caused by CONFIG_ATMEL_LCD ifdefs in lcd_setfgcolor()
and lcd_setbgcolor(). Actually, the color values passed
to these functions are already correct, we don't need
to fix them. So remove ifdefs here.

Reported-by: Alessandro Rubini <rubini@unipv.it>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/lcd.c