blob: 0d5bf0a86fc01c2cf7510c8527675a13e0206f9e [file] [log] [blame]
Antonello Dettoriaded2142016-07-27 12:41:04 +02001##
2## This file is part of the coreboot project.
3##
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; version 2 of the License.
7##
8## This program is distributed in the hope that it will be useful,
9## but WITHOUT ANY WARRANTY; without even the implied warranty of
10## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11## GNU General Public License for more details.
12##
13
14config USB
15 bool "USB Support"
16 default y
17
18config USB_UHCI
19 bool "Support for USB UHCI controllers"
20 depends on USB && ARCH_X86
Julius Werner58caa8b2016-05-16 16:37:56 -070021 default y if !CHROMEOS
Antonello Dettoriaded2142016-07-27 12:41:04 +020022 help
23 Select this option if you are going to use USB 1.1 on an Intel based
24 system.
25
26config USB_OHCI
27 bool "Support for USB OHCI controllers"
28 depends on USB
Julius Werner58caa8b2016-05-16 16:37:56 -070029 default y if !CHROMEOS
Antonello Dettoriaded2142016-07-27 12:41:04 +020030 help
31 Select this option if you are going to use USB 1.1 on a non-Intel based
32 system.
33
34config USB_EHCI
35 bool "Support for USB EHCI controllers"
36 depends on USB
Julius Werner58caa8b2016-05-16 16:37:56 -070037 default y if !CHROMEOS
Antonello Dettoriaded2142016-07-27 12:41:04 +020038 help
39 Select this option if you want to use USB 2.0
40
41config USB_XHCI
42 bool "Support for USB xHCI controllers"
43 depends on USB
Julius Werner58caa8b2016-05-16 16:37:56 -070044 default y if !CHROMEOS
Antonello Dettoriaded2142016-07-27 12:41:04 +020045 help
46 Select this option if you want to use USB 3.0
47
48config USB_XHCI_MTK_QUIRK
49 bool "Support for USB xHCI controllers on MTK SoC"
50 depends on USB_XHCI
51 help
52 Select this option if you want to use USB 3.0 on MTK platform.
53
54config USB_DWC2
55 bool "Support for USB DesignWare HCD controllers"
56 depends on USB
57 help
58 Select this option if you want to use DesignWare USB 2.0 host controller
59
60config USB_HID
61 bool "Support for USB keyboards"
62 depends on USB
63 default y
64 help
65 Select this option if you want to use devices complying to the
66 USB HID (Human Interface Device) standard. Such devices are for
67 example keyboards and mice. Currently only keyboards are supported.
68 Say Y here unless you know exactly what you are doing.
69
70config USB_HUB
71 bool "Support for USB hubs"
72 depends on USB
73 default y
74 help
75 Select this option if you want to compile in support for USB hubs.
76 Say Y here unless you know exactly what you are doing.
77
78config USB_EHCI_HOSTPC_ROOT_HUB_TT
79 bool "Support for USB EHCI ROOT HUB that has TT"
80 depends on USB_EHCI
81 default n
82 help
83 Select this option if USB EHCI root hub supports TT (Transaction
84 Translator).
85 To support this TT feature we read port-speed from non-standard
86 register HOSTPC (offset 84h of Operational Register base).
87
88config USB_MSC
89 bool "Support for USB storage"
90 depends on USB
91 default y
92 help
93 Select this option if you want to compile in support for USB mass
94 storage devices (USB memory sticks, hard drives, CDROM/DVD drives)
95 Say Y here unless you know exactly what you are doing.
96
97config USB_GEN_HUB
98 bool
99 default n if (!USB_HUB && !USB_XHCI)
100 default y if (USB_HUB || USB_XHCI)
101config USB_PCI
102 bool "Auto-scan PCI bus for USB host controllers"
103 depends on USB
104 default y if ARCH_X86
105 default n
106
107config UDC
108 bool "USB device mode support"
109 default n
110 help
111 Select this option to add support for running as
112 a USB device.
113
114config UDC_CI
115 bool "ChipIdea driver for USB device mode"
116 depends on UDC
117 default n
118 help
119 Select this option to add the driver for ChipIdea
120 USB device controller.
121
122config UDC_DWC2
123 bool "Designware driver for USB device mode"
124 depends on UDC
125 default n
126 help
127 Select this option to add the driver for Designware
128 USB device controller.