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-Tag: v2016.05-rc1~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bc8ffd9cb774feceefc7bdebe9353fcea071343;p=pandora-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 1809fc6f1e2..ba4f8979e2b 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