[U-Boot] [PATCH 03/11] pxa_lcd: invert colors for Zipit Z2 to get white on black palette

Vasily Khoruzhick anarsoul at gmail.com
Mon Mar 21 02:37:02 CET 2016


Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
---
 drivers/video/pxa_lcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c
index 1809fc6..ba4f897 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
-- 
2.7.2



More information about the U-Boot mailing list