summaryrefslogtreecommitdiff
path: root/include/lcd.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-05-18 16:43:51 +0800
committerTerry Lv <r65388@freescale.com>2010-05-31 10:21:05 +0800
commit5ceff9165b3d259f82e5ea181fee9bd6be25bf28 (patch)
tree96d6fbc52c5440e1abc76f9fb9911981f3944734 /include/lcd.h
parent161ebc6c0813e3d9adc267c8c58c5f727dc3e44c (diff)
downloadu-boot-imx-5ceff9165b3d259f82e5ea181fee9bd6be25bf28.zip
u-boot-imx-5ceff9165b3d259f82e5ea181fee9bd6be25bf28.tar.gz
u-boot-imx-5ceff9165b3d259f82e5ea181fee9bd6be25bf28.tar.bz2
ENGR00123551: Add mx25 splash screen support
Add mx25 splash screen support. Signed-off-by: Terry Lv <r65388@freescale.com> Signed-off-by: Renato Frias <renato.frias@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/lcd.h')
-rw-r--r--include/lcd.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/lcd.h b/include/lcd.h
index 1f85daa..afb99ba 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -1,4 +1,6 @@
/*
+ * Copyright (C) 2004-2010 Freescale Semiconductor, Inc.
+ *
* MPC823 and PXA LCD Controller
*
* Modeled after video interface by Paolo Scaffardi
@@ -181,6 +183,26 @@ typedef struct vidinfo {
u_long mmio; /* Memory mapped registers */
} vidinfo_t;
+#elif defined(CONFIG_MXC2_LCD)
+
+typedef struct vidinfo {
+ u_long vl_refresh; /* Refresh Rate Hz */
+ u_long vl_row; /* resolution in x */
+ u_long vl_col; /* resolution in y */
+ u_long vl_pixclock; /* pixel clock in picoseconds */
+ u_long vl_left_margin; /* Horizontal back porch */
+ u_long vl_right_margin; /* Horizontal front porch */
+ u_long vl_upper_margin; /* Vertical back porch */
+ u_long vl_lower_margin; /* Vertical front porch */
+ u_long vl_hsync; /* Horizontal sync pulse length */
+ u_long vl_vsync; /* Vertical sync pulse length */
+ u_long vl_sync; /* Polarity on data enable */
+ u_long vl_mode; /* Video Mode */
+ u_long vl_flag;
+ u_char vl_bpix;
+ ushort *cmap;
+} vidinfo_t;
+
#else
typedef struct vidinfo {