Browse Source

[usb] Add config/usb.h for USB configuration options

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 years ago
parent
commit
e1feb7bcab
3 changed files with 26 additions and 1 deletions
  1. 1
    1
      src/config/config_usb.c
  2. 25
    0
      src/config/usb.h
  3. 0
    0
      src/config/vbox/usb.h

+ 1
- 1
src/config/config_usb.c View File

@@ -21,7 +21,7 @@
21 21
 
22 22
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
23 23
 
24
-#include <config/general.h>
24
+#include <config/usb.h>
25 25
 
26 26
 /** @file
27 27
  *

+ 25
- 0
src/config/usb.h View File

@@ -0,0 +1,25 @@
1
+#ifndef CONFIG_USB_H
2
+#define CONFIG_USB_H
3
+
4
+/** @file
5
+ *
6
+ * USB configuration
7
+ *
8
+ */
9
+
10
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
+
12
+#include <config/defaults.h>
13
+
14
+/*
15
+ * USB host controllers (all enabled by default)
16
+ *
17
+ */
18
+//#undef	USB_HCD_XHCI		/* xHCI USB host controller */
19
+
20
+#include <config/named.h>
21
+#include NAMED_CONFIG(usb.h)
22
+#include <config/local/usb.h>
23
+#include LOCAL_NAMED_CONFIG(usb.h)
24
+
25
+#endif /* CONFIG_USB_H */

+ 0
- 0
src/config/vbox/usb.h View File


Loading…
Cancel
Save