mirror of https://gitee.com/openkylin/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 <sw@weilnetz.de>
This commit is contained in:
parent
03a1a8e1b1
commit
1d7a119706
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue