diff options
author | Anatolij Gustschin <agust@denx.de> | 2013-03-29 14:00:13 +0100 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-03-29 14:29:39 +0100 |
commit | 1d3dea12e21275eab5af1b50ef4a3be89cfffc15 (patch) | |
tree | dc2903a944e0dc24696c007d3e112c770acd830a /drivers/video/bcm2835.c | |
parent | d0f34f10f14853ebe3f75371533708aa0639d830 (diff) | |
download | u-boot-imx-1d3dea12e21275eab5af1b50ef4a3be89cfffc15.zip u-boot-imx-1d3dea12e21275eab5af1b50ef4a3be89cfffc15.tar.gz u-boot-imx-1d3dea12e21275eab5af1b50ef4a3be89cfffc15.tar.bz2 |
video: bcm2835: fix build issues
After merging LCD patches for v2013.04 the bcm2835 video
driver building is broken due to removal of many global
variables. Fix the driver.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'drivers/video/bcm2835.c')
-rw-r--r-- | drivers/video/bcm2835.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/video/bcm2835.c b/drivers/video/bcm2835.c index 1e9a84a..0c77d17 100644 --- a/drivers/video/bcm2835.c +++ b/drivers/video/bcm2835.c @@ -23,17 +23,7 @@ DECLARE_GLOBAL_DATA_PTR; /* Global variables that lcd.c expects to exist */ -int lcd_line_length; -int lcd_color_fg; -int lcd_color_bg; -void *lcd_base; -void *lcd_console_address; -short console_col; -short console_row; vidinfo_t panel_info; -char lcd_cursor_enabled; -ushort lcd_cursor_width; -ushort lcd_cursor_height; struct msg_query { struct bcm2835_mbox_hdr hdr; @@ -119,7 +109,6 @@ void lcd_ctrl_init(void *lcdbase) panel_info.vl_bpix = LCD_COLOR16; gd->fb_base = msg_setup->allocate_buffer.body.resp.fb_address; - lcd_base = (void *)gd->fb_base; } void lcd_enable(void) |