From 1d7a1197068da26813e2a4706b4573143db166f5 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 28 Jan 2012 05:18:19 +0000 Subject: 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 --- hw/mips_malta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/mips_malta.c b/hw/mips_malta.c index d8c8c35bd..4752bb286 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 */ -- cgit v1.2.3