aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-03-13 16:18:34 +0100
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-03-15 00:39:30 +0100
commit956eb2043a9367296af7bd9b725f1971af48efa9 (patch)
tree83c3a9db08b865e5cf05347e57c26f82644cac2b /hw/misc
parent6157b0e19721aadb4c7fdcfe57b2924af6144b14 (diff)
downloadqemu-956eb2043a9367296af7bd9b725f1971af48efa9.zip
qemu-956eb2043a9367296af7bd9b725f1971af48efa9.tar.gz
qemu-956eb2043a9367296af7bd9b725f1971af48efa9.tar.bz2
hw/misc/led: Add yellow LED
Add the yellow "lime" LED. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Michael Rolnik <mrolnik@gmail.com> Message-Id: <20210313165445.2113938-2-f4bug@amsat.org>
Diffstat (limited to 'hw/misc')
-rw-r--r--hw/misc/led.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/misc/led.c b/hw/misc/led.c
index 5266d02..f552b8b 100644
--- a/hw/misc/led.c
+++ b/hw/misc/led.c
@@ -20,6 +20,7 @@ static const char * const led_color_name[] = {
[LED_COLOR_BLUE] = "blue",
[LED_COLOR_CYAN] = "cyan",
[LED_COLOR_GREEN] = "green",
+ [LED_COLOR_YELLOW] = "yellow",
[LED_COLOR_AMBER] = "amber",
[LED_COLOR_ORANGE] = "orange",
[LED_COLOR_RED] = "red",