Commit 4eccca20 authored by Catalin Marinas's avatar Catalin Marinas

RealView: Change the clcd panel controls to use RGB instead of BGR

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent c34a1025
...@@ -232,7 +232,7 @@ static struct clcd_panel vga = { ...@@ -232,7 +232,7 @@ static struct clcd_panel vga = {
.width = -1, .width = -1,
.height = -1, .height = -1,
.tim2 = TIM2_BCD | TIM2_IPC, .tim2 = TIM2_BCD | TIM2_IPC,
.cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
.bpp = 16, .bpp = 16,
}; };
...@@ -255,7 +255,7 @@ static struct clcd_panel xvga = { ...@@ -255,7 +255,7 @@ static struct clcd_panel xvga = {
.width = -1, .width = -1,
.height = -1, .height = -1,
.tim2 = TIM2_BCD | TIM2_IPC, .tim2 = TIM2_BCD | TIM2_IPC,
.cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
.bpp = 16, .bpp = 16,
}; };
...@@ -278,7 +278,7 @@ static struct clcd_panel sanyo_3_8_in = { ...@@ -278,7 +278,7 @@ static struct clcd_panel sanyo_3_8_in = {
.width = -1, .width = -1,
.height = -1, .height = -1,
.tim2 = TIM2_BCD, .tim2 = TIM2_BCD,
.cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
.bpp = 16, .bpp = 16,
}; };
...@@ -301,7 +301,7 @@ static struct clcd_panel sanyo_2_5_in = { ...@@ -301,7 +301,7 @@ static struct clcd_panel sanyo_2_5_in = {
.width = -1, .width = -1,
.height = -1, .height = -1,
.tim2 = TIM2_IVS | TIM2_IHS | TIM2_IPC, .tim2 = TIM2_IVS | TIM2_IHS | TIM2_IPC,
.cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
.bpp = 16, .bpp = 16,
}; };
...@@ -324,7 +324,7 @@ static struct clcd_panel epson_2_2_in = { ...@@ -324,7 +324,7 @@ static struct clcd_panel epson_2_2_in = {
.width = -1, .width = -1,
.height = -1, .height = -1,
.tim2 = TIM2_BCD | TIM2_IPC, .tim2 = TIM2_BCD | TIM2_IPC,
.cntl = CNTL_LCDTFT | CNTL_LCDVCOMP(1), .cntl = CNTL_LCDTFT | CNTL_BGR | CNTL_LCDVCOMP(1),
.bpp = 16, .bpp = 16,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment