]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video/mx3fb: fix clock divider
authorStefano Babic <sbabic@denx.de>
Thu, 16 Dec 2010 11:41:47 +0000 (12:41 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 17 Dec 2010 20:24:02 +0000 (21:24 +0100)
Fix clock divider for COM57H5M10XRC display.
The previous setting caused flicker.

Tested on Qong (EVBLite with COM57H5M10XRC).

Signed-off-by: Stefano Babic <sbabic@denx.de>
Acked-by: Wolfgang Denk <wd@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
drivers/video/mx3fb.c

index 51831f0e67885e1a9c05fc07bbc89834dd8c30a5..6dd952cbbeaffddf6480a813adb0a7625f7712a3 100644 (file)
@@ -85,7 +85,7 @@ void lcd_panel_disable(void)
 #define V_END_WIDTH    (7 + 3) /* lower_margin + vsync_len */
 #define SIG_POL                (DI_D3_DRDY_SHARP_POL | DI_D3_CLK_POL)
 #define IF_CONF                0
-#define IF_CLK_DIV     0x175
+#define IF_CLK_DIV     0x55
 #else
 #define XRES           240
 #define YRES           320