summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-armv7/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-armv7/mainboard.c')
-rw-r--r--src/mainboard/emulation/qemu-armv7/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/mainboard.c b/src/mainboard/emulation/qemu-armv7/mainboard.c
index 441086fe3d..a5e9183f3e 100644
--- a/src/mainboard/emulation/qemu-armv7/mainboard.c
+++ b/src/mainboard/emulation/qemu-armv7/mainboard.c
@@ -15,7 +15,7 @@ static void init_gfx(void)
/* height is at most 1024 */
int width = 800, height = 600;
uint32_t framebuffer = 0x4c000000;
- pl111 = (uint32_t *) 0x10020000;
+ pl111 = (uint32_t *)0x10020000;
write32(pl111, (width / 4) - 4);
write32(pl111 + 1, height - 1);
/* registers 2, 3 and 5 are ignored by qemu. Set them correctly if