mirror of
https://github.com/ipxe/ipxe
synced 2026-01-30 04:58:12 +03:00
[build] Canonicalise USB configuration
Move all USB configuration from config/defaults/<platform>.h to the top-level config/usb.h, using indented conditional blocks to clarify which options are supported and enabled on each platform. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -30,12 +30,6 @@ FILE_SECBOOT ( PERMITTED );
|
||||
#define NAP_EFI
|
||||
#define SERIAL_SPCR
|
||||
|
||||
#define USB_HCD_XHCI /* xHCI USB host controller */
|
||||
#define USB_HCD_EHCI /* EHCI USB host controller */
|
||||
#define USB_HCD_UHCI /* UHCI USB host controller */
|
||||
#define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */
|
||||
#define USB_BLOCK /* USB block devices */
|
||||
|
||||
#if defined ( __i386__ ) || defined ( __x86_64__ )
|
||||
#define IOAPI_X86
|
||||
#define ENTROPY_RDRAND
|
||||
|
||||
@@ -35,10 +35,4 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
#define IOMAP_VIRT
|
||||
#endif
|
||||
|
||||
#define USB_HCD_XHCI /* xHCI USB host controller */
|
||||
#define USB_HCD_EHCI /* EHCI USB host controller */
|
||||
#define USB_HCD_UHCI /* UHCI USB host controller */
|
||||
#define USB_KEYBOARD /* USB keyboards */
|
||||
#define USB_BLOCK /* USB block devices */
|
||||
|
||||
#endif /* CONFIG_DEFAULTS_PCBIOS_H */
|
||||
|
||||
Reference in New Issue
Block a user