]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[usb] Add config/usb.h for USB configuration options
authorMichael Brown <mcb30@ipxe.org>
Wed, 18 Mar 2015 11:37:51 +0000 (11:37 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 18 Mar 2015 12:35:16 +0000 (12:35 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/config_usb.c
src/config/usb.h [new file with mode: 0644]
src/config/vbox/usb.h [new file with mode: 0644]

index 30aa06c16158f3ea33351cef32f7543836d7636a..0251b2826c5320f71e503ef487961188eb83fefe 100644 (file)
@@ -21,7 +21,7 @@
 
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
 
-#include <config/general.h>
+#include <config/usb.h>
 
 /** @file
  *
diff --git a/src/config/usb.h b/src/config/usb.h
new file mode 100644 (file)
index 0000000..ad8b3b7
--- /dev/null
@@ -0,0 +1,25 @@
+#ifndef CONFIG_USB_H
+#define CONFIG_USB_H
+
+/** @file
+ *
+ * USB configuration
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+
+#include <config/defaults.h>
+
+/*
+ * USB host controllers (all enabled by default)
+ *
+ */
+//#undef       USB_HCD_XHCI            /* xHCI USB host controller */
+
+#include <config/named.h>
+#include NAMED_CONFIG(usb.h)
+#include <config/local/usb.h>
+#include LOCAL_NAMED_CONFIG(usb.h)
+
+#endif /* CONFIG_USB_H */
diff --git a/src/config/vbox/usb.h b/src/config/vbox/usb.h
new file mode 100644 (file)
index 0000000..e69de29