summaryrefslogtreecommitdiff
path: root/hw/mips_malta.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-01-28 05:18:19 +0000
committerStefan Weil <sw@weilnetz.de>2012-03-15 20:55:45 +0100
commit1d7a1197068da26813e2a4706b4573143db166f5 (patch)
tree417ca1fa77f42fad21cb7f582ebdceccfe133279 /hw/mips_malta.c
parent03a1a8e1b13bb447c898eb282ee8c3fc41c866b4 (diff)
downloadqemu-1d7a1197068da26813e2a4706b4573143db166f5.tar.gz
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 <sw@weilnetz.de>
Diffstat (limited to 'hw/mips_malta.c')
-rw-r--r--hw/mips_malta.c2
1 files changed, 1 insertions, 1 deletions
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 */