iPXE
usb.h
Go to the documentation of this file.
1#ifndef CONFIG_USB_H
2#define CONFIG_USB_H
3
4/** @file
5 *
6 * USB configuration
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#include <config/defaults.h>
14
15/* USB host controllers */
16#define USB_HCD_EHCI /* EHCI USB host controller */
17#define USB_HCD_UHCI /* UHCI USB host controller */
18#define USB_HCD_XHCI /* xHCI USB host controller */
19
20/* USB peripherals */
21#define USB_BLOCK /* USB block devices */
22#define USB_KEYBOARD /* USB keyboards */
23
24/* USB quirks on EFI platforms */
25#if defined ( PLATFORM_efi )
26 #define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
27 //#define USB_HCD_USBIO /* Very slow EFI USB pseudo-host controller */
28 #undef USB_KEYBOARD /* Use built-in EFI keyboard driver */
29#endif
30
31#include <config/named.h>
32#include NAMED_CONFIG(usb.h)
33#include <config/local/usb.h>
34#include LOCAL_NAMED_CONFIG(usb.h)
35
36#endif /* CONFIG_USB_H */
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
Named configurations.