]> git.sur5r.net Git - u-boot/commitdiff
mx6sabresd: Use VESA 1024x768 timings
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 16 Mar 2016 15:55:03 +0000 (12:55 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 25 Mar 2016 13:05:24 +0000 (14:05 +0100)
VESA 1024x768 results in much more accurate timings.

Based on the patch from Soeren Moch for the tbs2910 board.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx6sabresd/mx6sabresd.c

index e9d9664a82353886b97fca82b7c68afd23d2764f..727334a2279300d110210a7f8646822b242e82b3 100644 (file)
@@ -386,13 +386,13 @@ struct display_info_t const displays[] = {{
                .refresh        = 60,
                .xres           = 1024,
                .yres           = 768,
-               .pixclock       = 15385,
-               .left_margin    = 220,
-               .right_margin   = 40,
-               .upper_margin   = 21,
-               .lower_margin   = 7,
-               .hsync_len      = 60,
-               .vsync_len      = 10,
+               .pixclock       = 15384,
+               .left_margin    = 160,
+               .right_margin   = 24,
+               .upper_margin   = 29,
+               .lower_margin   = 3,
+               .hsync_len      = 136,
+               .vsync_len      = 6,
                .sync           = FB_SYNC_EXT,
                .vmode          = FB_VMODE_NONINTERLACED
 } }, {
@@ -406,13 +406,13 @@ struct display_info_t const displays[] = {{
                .refresh        = 60,
                .xres           = 1024,
                .yres           = 768,
-               .pixclock       = 15385,
-               .left_margin    = 220,
-               .right_margin   = 40,
-               .upper_margin   = 21,
-               .lower_margin   = 7,
-               .hsync_len      = 60,
-               .vsync_len      = 10,
+               .pixclock       = 15384,
+               .left_margin    = 160,
+               .right_margin   = 24,
+               .upper_margin   = 29,
+               .lower_margin   = 3,
+               .hsync_len      = 136,
+               .vsync_len      = 6,
                .sync           = FB_SYNC_EXT,
                .vmode          = FB_VMODE_NONINTERLACED
 } }, {