exynos5: eliminate lcd_base variable

The original imported code used "lcdbase" and "lcd_base" which quite
predictably caused confusion and bugs. Let's put an end to this little
bit of insanity.

Change-Id: I4f995482cfbff5f23bb296a1e6d35beccf5f8a91
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/3114
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
David Hendricks 2013-04-18 17:27:07 -07:00
parent ec10ce8971
commit 9539932719
1 changed files with 2 additions and 3 deletions

View File

@ -83,7 +83,6 @@ int lcd_line_length;
int lcd_color_fg;
int lcd_color_bg;
void *lcd_base; /* Start of framebuffer memory */
void *lcd_console_address; /* Start of console buffer */
short console_col;
@ -150,10 +149,10 @@ void fb_init(vidinfo_t *panel_info, void *lcdbase,
((pd->yres - 1) << LINEVAL_OFFSET);
writel(val, &disp_ctrl->vidtcon2);
writel((unsigned int)lcd_base, &fimd->vidw00add0b0);
writel((unsigned int)lcdbase, &fimd->vidw00add0b0);
fbsize = calc_fbsize(panel_info);
writel((unsigned int)lcd_base + fbsize, &fimd->vidw00add1b0);
writel((unsigned int)lcdbase + fbsize, &fimd->vidw00add1b0);
writel(pd->xres * 2, &fimd->vidw00add2);