diff options
| author | Jeroen Hofstee <[email protected]> | 2013-01-22 10:44:11 +0000 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2013-03-21 10:11:17 +0100 |
| commit | f1d205a19cc89ae5a840cd45115201847dd5b73a (patch) | |
| tree | 92757ab531818748749713f7f75af0d54711c708 /board | |
| parent | 0698095af6a019c6ded35673a6b96af3fbf24286 (diff) | |
common/lcd.c: cleanup use of global variables
console_col, console_row, lcd_line_length, lcd_console_address had
to be declared in board / driver specific code, but were not actually
used there on many boards. Get rid of the global variables.
for completeness, the ack of Bo Shen is for the atmel part
Cc: Alessandro Rubini <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: Bo Shen <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Minkyu Kang <[email protected]>
Cc: Nikita Kiryanov <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stelian Pop <[email protected]>
Cc: Tom Warren <[email protected]>
Acked-by: Bo Shen <[email protected]>
Signed-off-by: Jeroen Hofstee <[email protected]>
[agust: rebased and fixed cm_t35 board]
Signed-off-by: Anatolij Gustschin <[email protected]>
Diffstat (limited to 'board')
| -rw-r--r-- | board/cm_t35/display.c | 4 | ||||
| -rw-r--r-- | board/mcc200/lcd.c | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/board/cm_t35/display.c b/board/cm_t35/display.c index 885c484ccf8..d4487f31f5c 100644 --- a/board/cm_t35/display.c +++ b/board/cm_t35/display.c @@ -381,11 +381,7 @@ static enum display_type env_parse_displaytype(char *displaytype) return NONE; } -int lcd_line_length; void *lcd_base; -short console_col; -short console_row; -void *lcd_console_address; void lcd_ctrl_init(void *lcdbase) { diff --git a/board/mcc200/lcd.c b/board/mcc200/lcd.c index 0f3f585d601..caf8d8b110b 100644 --- a/board/mcc200/lcd.c +++ b/board/mcc200/lcd.c @@ -68,16 +68,10 @@ vidinfo_t panel_info = { LCD_WIDTH, LCD_HEIGHT, LCD_BPP }; -int lcd_line_length; - /* * 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 |
