From 95399327193f9ae23b6cd323cac6a0383c269865 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Thu, 18 Apr 2013 17:27:07 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/3114 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- src/cpu/samsung/exynos5-common/exynos-fb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cpu/samsung/exynos5-common/exynos-fb.c b/src/cpu/samsung/exynos5-common/exynos-fb.c index 11d666b060..54a2d7a469 100644 --- a/src/cpu/samsung/exynos5-common/exynos-fb.c +++ b/src/cpu/samsung/exynos5-common/exynos-fb.c @@ -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); -- cgit v1.2.3