summaryrefslogtreecommitdiff
path: root/include/lcd.h
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2013-01-22 10:44:11 +0000
committerAnatolij Gustschin <agust@denx.de>2013-03-21 10:11:17 +0100
commitf1d205a19cc89ae5a840cd45115201847dd5b73a (patch)
tree92757ab531818748749713f7f75af0d54711c708 /include/lcd.h
parent0698095af6a019c6ded35673a6b96af3fbf24286 (diff)
downloadu-boot-imx-f1d205a19cc89ae5a840cd45115201847dd5b73a.zip
u-boot-imx-f1d205a19cc89ae5a840cd45115201847dd5b73a.tar.gz
u-boot-imx-f1d205a19cc89ae5a840cd45115201847dd5b73a.tar.bz2
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 <rubini@unipv.it> Cc: Anatolij Gustschin <agust@denx.de> Cc: Bo Shen <voice.shen@atmel.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Stelian Pop <stelian@popies.net> Cc: Tom Warren <twarren@nvidia.com> Acked-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> [agust: rebased and fixed cm_t35 board] Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/lcd.h')
-rw-r--r--include/lcd.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/lcd.h b/include/lcd.h
index e8c6c96..9b8ffeb 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -37,10 +37,7 @@ extern int lcd_line_length;
* Frame buffer memory information
*/
extern void *lcd_base; /* Start of framebuffer memory */
-extern void *lcd_console_address; /* Start of console buffer */
-extern short console_col;
-extern short console_row;
extern struct vidinfo panel_info;
extern void lcd_ctrl_init (void *lcdbase);