diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-04-18 17:27:07 -0700 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2013-04-19 20:13:54 +0200 |
commit | 95399327193f9ae23b6cd323cac6a0383c269865 (patch) | |
tree | affed2929156c14917049a9fcab22ac2a13a0fbd /src/cpu | |
parent | ec10ce8971221463314bf1f88e054e1d399bd7a9 (diff) |
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)
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/samsung/exynos5-common/exynos-fb.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); |