diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2013-04-22 10:46:53 -0700 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2013-04-22 20:35:52 +0200 |
commit | e8a91347b182281f18c969229f02e07102e21898 (patch) | |
tree | ff3ca367e55fcc83af67b6d2dc9d7d836fb96dad | |
parent | c0c620e74ab4578ac8bd8ca80c7265fc4c62a37c (diff) | |
download | coreboot-e8a91347b182281f18c969229f02e07102e21898.tar.xz |
GOOGLE/SNOW: fix stupid paren error
This simple error led to corrupted graphics.
How annoying.
Change-Id: I2295c0df0f1d16014a603dc5d66bd4d72f3fb7c9
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/3120
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/cpu/samsung/exynos5250/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/samsung/exynos5250/cpu.c b/src/cpu/samsung/exynos5250/cpu.c index 09b670e9d8..e122413f50 100644 --- a/src/cpu/samsung/exynos5250/cpu.c +++ b/src/cpu/samsung/exynos5250/cpu.c @@ -68,7 +68,7 @@ static void exynos_displayport_init(device_t dev) vi.cmap = (void *)lcdbase; lcdbase += 64*KiB; - mmio_resource(dev, 1, lcdbase/KiB, fb_size + (KiB-1)/KiB); + mmio_resource(dev, 1, lcdbase/KiB, (fb_size + KiB - 1)/KiB); printk(BIOS_DEBUG, "Initializing exynos VGA, base %p\n",(void *)lcdbase); ret = lcd_ctrl_init(&vi, &panel, (void *)lcdbase); |