diff options
author | Terry Lv <r65388@freescale.com> | 2010-08-02 19:54:41 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-08-03 16:35:23 +0800 |
commit | 70d1be1c21e1ee63df7593eb0bd733dfaae6a2da (patch) | |
tree | d22787d6fc53c94f06cc8f10886ccb7f69ab3a6e /include/lcd.h | |
parent | 9da7bd8c3a3bc34d6a3014edb86827964ff94dcb (diff) | |
download | u-boot-imx-70d1be1c21e1ee63df7593eb0bd733dfaae6a2da.zip u-boot-imx-70d1be1c21e1ee63df7593eb0bd733dfaae6a2da.tar.gz u-boot-imx-70d1be1c21e1ee63df7593eb0bd733dfaae6a2da.tar.bz2 |
ENGR00125324: Add splash screen code and support for epdcrel-imx-2.6.31-10.08.01rel-imx-2.6.31-10.08.00
Add splash screen code and support for epdc.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/lcd.h')
-rw-r--r-- | include/lcd.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/include/lcd.h b/include/lcd.h index afb99ba..062e024 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -203,6 +203,45 @@ typedef struct vidinfo { ushort *cmap; } vidinfo_t; +#elif defined(CONFIG_MXC_EPDC) + +struct waveform_modes { + int mode_init; + int mode_du; + int mode_gc4; + int mode_gc8; + int mode_gc16; + int mode_gc32; +}; + +struct epdc_data_struct { + /* EPDC buffer pointers */ + u_long working_buf_addr; + u_long waveform_buf_addr; + + /* Waveform mode definitions */ + struct waveform_modes wv_modes; +}; + +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; + struct epdc_data_struct epdc_data; +} vidinfo_t; + #else typedef struct vidinfo { |