[PATCH 2/2] hw/arm/nseries: Unconditionally map the TUSB6010 USB Host controller

Philippe Mathieu-Daudé posted 2 patches 10 months, 2 weeks ago
Maintainers: Beniamino Galvani <b.galvani@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Strahinja Jankovic <strahinja.p.jankovic@gmail.com>
There is a newer version of this series
[PATCH 2/2] hw/arm/nseries: Unconditionally map the TUSB6010 USB Host controller
Posted by Philippe Mathieu-Daudé 10 months, 2 weeks ago
The TUSB6010 USB controller is solderer on the N800 and N810
tablets, thus is always present.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 hw/arm/nseries.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c
index 35aff46b4b..35deb74f65 100644
--- a/hw/arm/nseries.c
+++ b/hw/arm/nseries.c
@@ -1353,9 +1353,7 @@ static void n8x0_init(MachineState *machine,
     n8x0_spi_setup(s);
     n8x0_dss_setup(s);
     n8x0_cbus_setup(s);
-    if (machine_usb(machine)) {
-        n8x0_usb_setup(s);
-    }
+    n8x0_usb_setup(s);
 
     if (machine->kernel_filename) {
         /* Or at the linux loader.  */
-- 
2.41.0