summaryrefslogtreecommitdiffstats
path: root/src/config/usb.h
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-28 12:53:53 +0100
committerSimon Rettberg2026-01-28 12:53:53 +0100
commit8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch)
treea8b359e59196be5b2e3862bed189107f4bc9975f /src/config/usb.h
parentMerge branch 'master' into openslx (diff)
parent[prefix] Make unlzma.S compatible with 386 class CPUs (diff)
downloadipxe-openslx.tar.gz
ipxe-openslx.tar.xz
ipxe-openslx.zip
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/config/usb.h')
-rw-r--r--src/config/usb.h37
1 files changed, 16 insertions, 21 deletions
diff --git a/src/config/usb.h b/src/config/usb.h
index 4252ec229..c84f9e195 100644
--- a/src/config/usb.h
+++ b/src/config/usb.h
@@ -8,30 +8,25 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <config/defaults.h>
-/*
- * USB host controllers (all enabled by default)
- *
- */
-//#undef USB_HCD_XHCI /* xHCI USB host controller */
-//#undef USB_HCD_EHCI /* EHCI USB host controller */
-//#undef USB_HCD_UHCI /* UHCI USB host controller */
-//#define USB_HCD_USBIO /* Very slow EFI USB host controller */
-
-/*
- * USB peripherals
- *
- */
-//#undef USB_KEYBOARD /* USB keyboards */
-//#undef USB_BLOCK /* USB block devices */
-
-/*
- * USB external interfaces
- *
- */
-//#undef USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
+/* USB host controllers */
+#define USB_HCD_EHCI /* EHCI USB host controller */
+#define USB_HCD_UHCI /* UHCI USB host controller */
+#define USB_HCD_XHCI /* xHCI USB host controller */
+
+/* USB peripherals */
+#define USB_BLOCK /* USB block devices */
+#define USB_KEYBOARD /* USB keyboards */
+
+/* USB quirks on EFI platforms */
+#if defined ( PLATFORM_efi )
+ #define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
+ //#define USB_HCD_USBIO /* Very slow EFI USB pseudo-host controller */
+ #undef USB_KEYBOARD /* Use built-in EFI keyboard driver */
+#endif
#include <config/named.h>
#include NAMED_CONFIG(usb.h)