[coreboot-gerrit] New patch to review for coreboot: b5326c9 GOOGLE/SNOW: fix stupid paren error

Ronald G. Minnich (rminnich@gmail.com) gerrit at coreboot.org
Mon Apr 22 19:47:38 CEST 2013

Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3120


commit b5326c99d6f1bbefe8ff499073675a4365dec529
Author: Ronald G. Minnich <rminnich at gmail.com>
Date:   Mon Apr 22 10:46:53 2013 -0700

    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 at gmail.com>
 src/cpu/samsung/exynos5250/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpu/samsung/exynos5250/cpu.c b/src/cpu/samsung/exynos5250/cpu.c
index 09b670e..e122413 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);
 	       "Initializing exynos VGA, base %p\n",(void *)lcdbase);
 	ret = lcd_ctrl_init(&vi, &panel, (void *)lcdbase);

More information about the coreboot-gerrit mailing list