diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-05-24 12:56:53 +0200 | 
|---|---|---|
| committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-05-24 12:56:53 +0200 | 
| commit | 42fd5f87b1613d3039f57e93c16f760a768d3e84 (patch) | |
| tree | 9dd0252fca37dbdb1148ce7fd44dc5c9dd8a6b34 /include/lcd.h | |
| parent | 2c8d41969b47eb0b973912830c58689b2ba0e50a (diff) | |
| parent | 54694a91428f6c3280fe1ee0923488a1e7e8dbc4 (diff) | |
| download | olio-uboot-2014.01-42fd5f87b1613d3039f57e93c16f760a768d3e84.tar.xz olio-uboot-2014.01-42fd5f87b1613d3039f57e93c16f760a768d3e84.zip | |
Merging Stelian Pop AT91 patches
Merge branch 'testing-V2'
Conflicts:
	board/atmel/at91cap9adk/Makefile
                Fixing copyright
	board/atmel/at91sam9260ek/Makefile
                Fixing copyright
	board/atmel/at91sam9260ek/u-boot.lds
                Delete no more needed ld script
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/lcd.h')
| -rw-r--r-- | include/lcd.h | 30 | 
1 files changed, 29 insertions, 1 deletions
| diff --git a/include/lcd.h b/include/lcd.h index 8a4273cce..44ac8ef8c 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -155,7 +155,35 @@ typedef struct vidinfo {  	u_char	vl_bpix;	/* Bits per pixel, 0 = 1 */  } vidinfo_t; -#endif /* CONFIG_MPC823, CONFIG_PXA250 or CONFIG_MCC200 */ + +#elif defined(CONFIG_ATMEL_LCD) + +typedef struct vidinfo { +	u_long vl_col;		/* Number of columns (i.e. 640) */ +	u_long vl_row;		/* Number of rows (i.e. 480) */ +	u_long vl_clk;	/* pixel clock in ps    */ + +	/* LCD configuration register */ +	u_long vl_sync;		/* Horizontal / vertical sync */ +	u_long vl_bpix;		/* Bits per pixel, 0 = 1, 1 = 2, 2 = 4, 3 = 8, 4 = 16 */ +	u_long vl_tft;		/* 0 = passive, 1 = TFT */ + +	/* Horizontal control register. */ +	u_long vl_hsync_len;	/* Length of horizontal sync */ +	u_long vl_left_margin;	/* Time from sync to picture */ +	u_long vl_right_margin;	/* Time from picture to sync */ + +	/* Vertical control register. */ +	u_long vl_vsync_len;	/* Length of vertical sync */ +	u_long vl_upper_margin;	/* Time from sync to picture */ +	u_long vl_lower_margin;	/* Time from picture to sync */ + +	u_long	mmio;		/* Memory mapped registers */ +} vidinfo_t; + +extern vidinfo_t panel_info; + +#endif /* CONFIG_MPC823, CONFIG_PXA250 or CONFIG_MCC200 or CONFIG_ATMEL_LCD */  /* Video functions */ |