From: Stefan Weil Date: Sat, 28 Jan 2012 05:18:19 +0000 (+0000) Subject: malta: Fix display for LED array X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1d7a1197068da26813e2a4706b4573143db166f5;p=qemu.git malta: Fix display for LED array The 8-LED array was already implemented in the first commit to Malta, but this implementation was incomplete. Signed-off-by: Stefan Weil --- diff --git a/hw/mips_malta.c b/hw/mips_malta.c index d8c8c35bd9..4752bb2865 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -338,9 +338,9 @@ static void malta_fpga_write(void *opaque, target_phys_addr_t addr, break; /* LEDBAR Register */ - /* XXX: implement a 8-LED array */ case 0x00408: s->leds = val & 0xff; + malta_fpga_update_display(s); break; /* ASCIIWORD Register */