diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-04-12 22:07:57 +0200 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-04-12 22:07:57 +0200 | 
| commit | 18122019972ca639ee3b581257e3a63ff7c8efeb (patch) | |
| tree | 52f7223e7c63f43322f3eee4722743e12190a19f /board/mcc200/lcd.c | |
| parent | 90639feaa0d66a204f9d03a325ab14e2f97f6cbb (diff) | |
| parent | 785881f775252940185e10fbb2d5299c9ffa6bce (diff) | |
| download | olio-uboot-2014.01-18122019972ca639ee3b581257e3a63ff7c8efeb.tar.xz olio-uboot-2014.01-18122019972ca639ee3b581257e3a63ff7c8efeb.zip | |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts:
	drivers/video/exynos_fb.c
Diffstat (limited to 'board/mcc200/lcd.c')
| -rw-r--r-- | board/mcc200/lcd.c | 24 | 
1 files changed, 2 insertions, 22 deletions
| diff --git a/board/mcc200/lcd.c b/board/mcc200/lcd.c index 893f4b7cb..24f0abddf 100644 --- a/board/mcc200/lcd.c +++ b/board/mcc200/lcd.c @@ -68,19 +68,6 @@ vidinfo_t panel_info = {  	LCD_WIDTH, LCD_HEIGHT, LCD_BPP  }; -int lcd_line_length; - -int lcd_color_fg; -int lcd_color_bg; - -/* - * Frame buffer memory information - */ -void *lcd_base;			/* Start of framebuffer memory  */ -void *lcd_console_address;	/* Start of console buffer      */ - -short console_col = 0; -short console_row = 0;  /*   *  The device we use to communicate with PSoC @@ -88,13 +75,6 @@ short console_row = 0;  int serial_inited = 0;  /* - * Exported functions - */ -void lcd_initcolregs (void); -void lcd_ctrl_init (void *lcdbase); -void lcd_enable (void); - -/*   *  Imported functions to support the PSoC protocol   */  extern int serial_init_dev (unsigned long dev_base); @@ -156,12 +136,12 @@ void lcd_enable (void)  #if !defined(SWAPPED_LCD)  	for (i=0; i<fb_size; i++) { -		serial_putc_raw_dev (PSOC_PSC, ((char *)lcd_base)[i]); +		serial_putc_raw_dev(PSOC_PSC, ((char *)gd->fb_base)[i]);  	}  #else      {  	int x, y, pwidth; -	char *p = (char *)lcd_base; +	char *p = (char *)gd->fb_base;  	pwidth = ((panel_info.vl_col+7) >> 3);  	for (y=0; y<panel_info.vl_row; y++) { |