diff options
| author | Jeroen Hofstee <[email protected]> | 2013-01-22 10:44:12 +0000 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2013-03-21 10:16:53 +0100 |
| commit | 00a0ca5986c13d24ebbc5000cc1b7a1cdac0ba4b (patch) | |
| tree | 88ba8d340866a41eb7142b39fa0121975e12b0f1 /drivers/video/mpc8xx_lcd.c | |
| parent | f1d205a19cc89ae5a840cd45115201847dd5b73a (diff) | |
common/lcd.c: remove global lcd_base
lcd_base is available as gd->fb_base as well, there is no need
to keep a seperate copy.
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: Haavard Skinnemoen <[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: also fix cm_t35 board while rebasing]
Signed-off-by: Anatolij Gustschin <[email protected]>
Diffstat (limited to 'drivers/video/mpc8xx_lcd.c')
| -rw-r--r-- | drivers/video/mpc8xx_lcd.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/video/mpc8xx_lcd.c b/drivers/video/mpc8xx_lcd.c index 26ad432b2cc..1aa19673114 100644 --- a/drivers/video/mpc8xx_lcd.c +++ b/drivers/video/mpc8xx_lcd.c @@ -255,14 +255,6 @@ vidinfo_t panel_info = { #endif /*----------------------------------------------------------------------*/ - -/* - * Frame buffer memory information - */ -void *lcd_base; /* Start of framebuffer memory */ - -/************************************************************************/ - void lcd_ctrl_init (void *lcdbase); void lcd_enable (void); #if LCD_BPP == LCD_COLOR8 @@ -392,8 +384,8 @@ void lcd_ctrl_init (void *lcdbase) * BIG NOTE: This has to be modified to load A and B depending * upon the split mode of the LCD. */ - lcdp->lcd_lcfaa = (ulong)lcd_base; - lcdp->lcd_lcfba = (ulong)lcd_base; + lcdp->lcd_lcfaa = (ulong)lcdbase; + lcdp->lcd_lcfba = (ulong)lcdbase; /* MORE HACKS...This must be updated according to 823 manual * for different panels. |
