summaryrefslogtreecommitdiff
path: root/include/fsl_diu_fb.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-05-26 09:02:17 -0500
committerWolfgang Denk <wd@denx.de>2011-08-04 22:55:33 +0200
commit3b4a226305636a067d8da6022c011df008a6e0d7 (patch)
treef29eaaef1e74d1699b6107b5cc2591730fc25e9e /include/fsl_diu_fb.h
parent8370befc1968bdfb0b2423fe10a3cb2e66e8a197 (diff)
downloadu-boot-imx-3b4a226305636a067d8da6022c011df008a6e0d7.zip
u-boot-imx-3b4a226305636a067d8da6022c011df008a6e0d7.tar.gz
u-boot-imx-3b4a226305636a067d8da6022c011df008a6e0d7.tar.bz2
video: Add SHARP LQ084S3LG01 LCD support on P1022DS
The SHARP LQ084S3LG01 is a TFT LCD used on the P1022DS (revision "C") board. This device only supports 800x600 resolution, so if that resolution is selected, assume that this is the device. The device is attached to the LVDS port on the P1022DS board. The existing 800x600 entry (for the PDM360NG board) is actually 800x480, so we fix that. To support two different 800x resolutions, the Y-resolution is now passed to fsl_diu_init() and both values are used to pick the proper fb_videomode structure. The data for the 800x600 video mode is originally from Jiang Yutang. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Jiang Yutang <b14898@freescale.com>
Diffstat (limited to 'include/fsl_diu_fb.h')
-rw-r--r--include/fsl_diu_fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsl_diu_fb.h b/include/fsl_diu_fb.h
index 4c89f4b..a58e7e2 100644
--- a/include/fsl_diu_fb.h
+++ b/include/fsl_diu_fb.h
@@ -24,7 +24,7 @@
* MA 02111-1307 USA
*/
-int fsl_diu_init(int xres, u32 pixel_format, int gamma_fix);
+int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix);
/* Prototypes for external board-specific functions */
int platform_diu_init(unsigned int xres, unsigned int yres, const char *port);