2016-07-27 12:41:04 +02:00
|
|
|
##
|
|
|
|
##
|
payloads: Replace GPL boilerplate with SPDX headers
Used commands:
perl -i -p0e 's|\/\*[\s*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-only */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*is[\s*]*free[\s*]*software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*either[\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License,[\s*]*or[\s*]*.at[\s*]*your[\s*]*option.*[\s*]*any[\s*]*later[\s*]*version.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-or-later */|' $(cat filelist)
perl -i -p0e 's|\/\*[\s*]*.*is[\s*#]*free[\s*#]*software[;:,][\s*#]*you[\s*#]*can[\s*#]*redistribute[\s*#]*it[\s*#]*and/or[\s*#]*modify[\s*#]*it[\s*#]*under[\s*#]*the[\s*#]*terms[\s*#]*of[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*as[\s*#]*published[\s*#]*by[\s*#]*the[\s*#]*Free[\s*#]*Software[\s*#]*Foundation[;:,][\s*#]*either[\s*#]*version[\s*#]*3[\s*#]*of[\s*#]*the[\s*#]*License[;:,][\s*#]*or[\s*#]*.at[\s*#]*your[\s*#]*option.*[\s*#]*any[\s*#]*later[\s*#]*version.[\s*#]*This[\s*#]*program[\s*#]*is[\s*#]*distributed[\s*#]*in[\s*#]*the[\s*#]*hope[\s*#]*that[\s*#]*it[\s*#]*will[\s*#]*be[\s*#]*useful[;:,][\s*#]*but[\s*#]*WITHOUT[\s*#]*ANY[\s*#]*WARRANTY[;:,][\s*#]*without[\s*#]*even[\s*#]*the[\s*#]*implied[\s*#]*warranty[\s*#]*of[\s*#]*MERCHANTABILITY[\s*#]*or[\s*#]*FITNESS[\s*#]*FOR[\s*#]*A[\s*#]*PARTICULAR[\s*#]*PURPOSE.[\s*#]*See[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*for[\s*#]*more[\s*#]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-3.0-or-later */|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w]*.*is free software[:;][\#\s]*you[\#\s]*can[\#\s]*redistribute[\#\s]*it[\#\s]*and\/or[\#\s]*modify[\#\s]*it[\s\#]*under[\s \#]*the[\s\#]*terms[\s\#]*of[\s\#]*the[\s\#]*GNU[\s\#]*General[\s\#]*Public[\s\#]*License[\s\#]*as[\s\#]*published[\s\#]*by[\s\#]*the[\s\#]*Free[\s\#]*Software[\s\#]*Foundation[;,][\s\#]*version[\s\#]*2[\s\#]*of[\s\#]*the[\s\#]*License.*[\s\#]*This[\s\#]*program[\s\#]*is[\s\#]*distributed[\s\#]*in[\s\#]*the[\s\#]*hope[\s\#]*that[\s\#]*it[\s\#]*will[\#\s]*be[\#\s]*useful,[\#\s]*but[\#\s]*WITHOUT[\#\s]*ANY[\#\s]*WARRANTY;[\#\s]*without[\#\s]*even[\#\s]*the[\#\s]*implied[\#\s]*warranty[\#\s]*of[\#\s]*MERCHANTABILITY[\#\s]*or[\#\s]*FITNESS[\#\s]*FOR[\#\s]*A[\#\s]*PARTICULAR[\#\s]*PURPOSE.[\#\s]*See[\#\s]*the[\#\s]*GNU[\#\s]*General[\#\s]*Public[\#\s]*License[\#\s]*for[\#\s]*more[\#\s]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
perl -i -p0e 's|(\#\#*)[\w*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)
Change-Id: I9f74ed19257bc4234465b8f912deff1b485173f9
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41179
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-08 22:50:46 +02:00
|
|
|
## SPDX-License-Identifier: GPL-2.0-only
|
2016-07-27 12:41:04 +02:00
|
|
|
|
|
|
|
config USB
|
|
|
|
bool "USB Support"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USB_UHCI
|
|
|
|
bool "Support for USB UHCI controllers"
|
|
|
|
depends on USB && ARCH_X86
|
2016-05-17 01:37:56 +02:00
|
|
|
default y if !CHROMEOS
|
2016-07-27 12:41:04 +02:00
|
|
|
help
|
|
|
|
Select this option if you are going to use USB 1.1 on an Intel based
|
|
|
|
system.
|
|
|
|
|
|
|
|
config USB_OHCI
|
|
|
|
bool "Support for USB OHCI controllers"
|
|
|
|
depends on USB
|
2016-05-17 01:37:56 +02:00
|
|
|
default y if !CHROMEOS
|
2016-07-27 12:41:04 +02:00
|
|
|
help
|
|
|
|
Select this option if you are going to use USB 1.1 on a non-Intel based
|
|
|
|
system.
|
|
|
|
|
|
|
|
config USB_EHCI
|
|
|
|
bool "Support for USB EHCI controllers"
|
|
|
|
depends on USB
|
2016-05-17 01:37:56 +02:00
|
|
|
default y if !CHROMEOS
|
2016-07-27 12:41:04 +02:00
|
|
|
help
|
|
|
|
Select this option if you want to use USB 2.0
|
|
|
|
|
|
|
|
config USB_XHCI
|
|
|
|
bool "Support for USB xHCI controllers"
|
|
|
|
depends on USB
|
2016-05-17 01:37:56 +02:00
|
|
|
default y if !CHROMEOS
|
2016-07-27 12:41:04 +02:00
|
|
|
help
|
|
|
|
Select this option if you want to use USB 3.0
|
|
|
|
|
|
|
|
config USB_XHCI_MTK_QUIRK
|
|
|
|
bool "Support for USB xHCI controllers on MTK SoC"
|
|
|
|
depends on USB_XHCI
|
|
|
|
help
|
|
|
|
Select this option if you want to use USB 3.0 on MTK platform.
|
|
|
|
|
|
|
|
config USB_DWC2
|
|
|
|
bool "Support for USB DesignWare HCD controllers"
|
|
|
|
depends on USB
|
|
|
|
help
|
|
|
|
Select this option if you want to use DesignWare USB 2.0 host controller
|
|
|
|
|
|
|
|
config USB_HID
|
|
|
|
bool "Support for USB keyboards"
|
|
|
|
depends on USB
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this option if you want to use devices complying to the
|
|
|
|
USB HID (Human Interface Device) standard. Such devices are for
|
|
|
|
example keyboards and mice. Currently only keyboards are supported.
|
|
|
|
Say Y here unless you know exactly what you are doing.
|
|
|
|
|
|
|
|
config USB_HUB
|
|
|
|
bool "Support for USB hubs"
|
|
|
|
depends on USB
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this option if you want to compile in support for USB hubs.
|
|
|
|
Say Y here unless you know exactly what you are doing.
|
|
|
|
|
|
|
|
config USB_EHCI_HOSTPC_ROOT_HUB_TT
|
|
|
|
bool "Support for USB EHCI ROOT HUB that has TT"
|
|
|
|
depends on USB_EHCI
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this option if USB EHCI root hub supports TT (Transaction
|
|
|
|
Translator).
|
|
|
|
To support this TT feature we read port-speed from non-standard
|
|
|
|
register HOSTPC (offset 84h of Operational Register base).
|
|
|
|
|
|
|
|
config USB_MSC
|
|
|
|
bool "Support for USB storage"
|
|
|
|
depends on USB
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Select this option if you want to compile in support for USB mass
|
|
|
|
storage devices (USB memory sticks, hard drives, CDROM/DVD drives)
|
|
|
|
Say Y here unless you know exactly what you are doing.
|
|
|
|
|
|
|
|
config USB_GEN_HUB
|
|
|
|
bool
|
|
|
|
default n if (!USB_HUB && !USB_XHCI)
|
|
|
|
default y if (USB_HUB || USB_XHCI)
|
|
|
|
config USB_PCI
|
|
|
|
bool "Auto-scan PCI bus for USB host controllers"
|
|
|
|
depends on USB
|
|
|
|
default y if ARCH_X86
|
|
|
|
default n
|
|
|
|
|
|
|
|
config UDC
|
|
|
|
bool "USB device mode support"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this option to add support for running as
|
|
|
|
a USB device.
|
|
|
|
|
|
|
|
config UDC_CI
|
|
|
|
bool "ChipIdea driver for USB device mode"
|
|
|
|
depends on UDC
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this option to add the driver for ChipIdea
|
|
|
|
USB device controller.
|
|
|
|
|
|
|
|
config UDC_DWC2
|
|
|
|
bool "Designware driver for USB device mode"
|
|
|
|
depends on UDC
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this option to add the driver for Designware
|
|
|
|
USB device controller.
|