From: Vasily Khoruzhick Date: Mon, 21 Mar 2016 01:37:02 +0000 (-0700) Subject: pxa_lcd: invert colors for Zipit Z2 to get white on black palette X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=3bc8ffd9cb774feceefc7bdebe9353fcea071343;p=u-boot.git pxa_lcd: invert colors for Zipit Z2 to get white on black palette Signed-off-by: Vasily Khoruzhick --- diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c index 1809fc6f1e..ba4f8979e2 100644 --- a/drivers/video/pxa_lcd.c +++ b/drivers/video/pxa_lcd.c @@ -166,7 +166,7 @@ vidinfo_t panel_info = { #ifdef CONFIG_LMS283GF05 # define LCD_BPP LCD_COLOR8 -/*# define LCD_INVERT_COLORS*/ +# define LCD_INVERT_COLORS /* you have to set lccr0 and lccr3 (including pcd) */ # define REG_LCCR0 0x043008f8