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 /common | |
| 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 'common')
| -rw-r--r-- | common/lcd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/lcd.c b/common/lcd.c index b09e45fc18d..874f18220af 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -101,9 +101,15 @@ static void lcd_setbgcolor(int color); static int lcd_color_fg; static int lcd_color_bg; +int lcd_line_length; char lcd_is_enabled = 0; +static short console_col; +static short console_row; + +static void *lcd_console_address; + static char lcd_flush_dcache; /* 1 to flush dcache after each lcd update */ |
