diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-06-29 23:22:55 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-07-10 09:48:39 -0400 |
commit | 131566b8f80355aa64bba904f9de4d1506b90442 (patch) | |
tree | a480bc6140029199ef3569204b29162de23674b8 /firmware/export | |
parent | d0d13baf3e263d5aa270b3d26686cd01deb3b059 (diff) | |
download | rockbox-131566b8f80355aa64bba904f9de4d1506b90442.tar.gz rockbox-131566b8f80355aa64bba904f9de4d1506b90442.zip |
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
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ | |||
926 | #define INCLUDE_TIMEOUT_API | 926 | #define INCLUDE_TIMEOUT_API |
927 | #define USB_DRIVER_CLOSE | 927 | #define USB_DRIVER_CLOSE |
928 | #endif | 928 | #endif |
929 | #if CONFIG_CPU == X1000 | ||
930 | #define USB_DRIVER_CLOSE | ||
931 | #endif | ||
929 | #endif | 932 | #endif |
930 | 933 | ||
931 | #else /* !BOOTLOADER */ | 934 | #else /* !BOOTLOADER */ |