From 131566b8f80355aa64bba904f9de4d1506b90442 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Wed, 29 Jun 2022 23:22:55 +0100 Subject: x1000: fix linux boot USB issues If the USB controller is active when we hand over to Linux it'll often trigger "irq nobody cared" warnings. Disabling the controller before boot prevents that. Also move the USB PHY bit workaround from the dualboot cleanup hook to the main Linux boot function. Mainline kernels don't clear these bits either. Change-Id: Ieaf896c3b8c3e58a8c47de5afeb384ae2511a5fa --- firmware/export/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index 6465bdcb0e..a640a47b9c 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -926,6 +926,9 @@ Lyre prototype 1 */ #define INCLUDE_TIMEOUT_API #define USB_DRIVER_CLOSE #endif +#if CONFIG_CPU == X1000 +#define USB_DRIVER_CLOSE +#endif #endif #else /* !BOOTLOADER */ -- cgit v1.2.3