On Fri, 12 Jun 2020 at 18:54, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > hw/arm/tosa.c | 7 +++---- > hw/arm/Kconfig | 1 + > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/hw/arm/tosa.c b/hw/arm/tosa.c > index 5dee2d76c6..86d7e0283a 100644 > --- a/hw/arm/tosa.c > +++ b/hw/arm/tosa.c > @@ -24,6 +24,7 @@ > #include "hw/irq.h" > #include "hw/ssi/ssi.h" > #include "hw/sysbus.h" > +#include "hw/misc/led.h" > #include "exec/address-spaces.h" > > #define TOSA_RAM 0x04000000 > @@ -68,9 +69,6 @@ static void tosa_microdrive_attach(PXA2xxState *cpu) > static void tosa_out_switch(void *opaque, int line, int level) > { > switch (line) { > - case 0: > - fprintf(stderr, "blue LED %s.\n", level ? "on" : "off"); > - break; > case 1: > fprintf(stderr, "green LED %s.\n", level ? "on" : "off"); > break;
Why convert the blue LED and not the green, amber or wlan LEDs ? thanks -- PMM