From: Vasily Khoruzhick Date: Mon, 21 Mar 2016 01:37:01 +0000 (-0700) Subject: zipitz2: enable LCD rotation X-Git-Tag: v2016.05-rc1~137 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=59fa089b2b191c87bc1ad81b5ddd553de665001c;p=oweals%2Fu-boot.git zipitz2: enable LCD rotation z2's screen is rotated by 270 degrees Signed-off-by: Vasily Khoruzhick Acked-by: Marek Vasut --- diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c index 2799425a63..1809fc6f1e 100644 --- a/drivers/video/pxa_lcd.c +++ b/drivers/video/pxa_lcd.c @@ -175,6 +175,7 @@ vidinfo_t panel_info = { vidinfo_t panel_info = { .vl_col = 240, .vl_row = 320, + .vl_rot = 3, .vl_width = 240, .vl_height = 320, .vl_clkp = CONFIG_SYS_HIGH, diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h index 586a445f3e..169eaf3d88 100644 --- a/include/configs/zipitz2.h +++ b/include/configs/zipitz2.h @@ -83,6 +83,7 @@ #ifdef CONFIG_CMD_SPI #define CONFIG_SOFT_SPI #define CONFIG_LCD +#define CONFIG_LCD_ROTATION #define CONFIG_PXA_LCD #define CONFIG_LMS283GF05