libpayload: Add USB device mode driver
Add a framework for USB device mode controllers and a driver for the ChipIdea controller which is part of the tegra platform. TODO: - fix USB detach/attach - implement zero length packet handling properly BUG=chrome-os-partner:35861 TEST=none BRANCH=none Change-Id: I8defeea78b5a3bdbf9c1b1222c2702eaf3256b81 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 542332291880c4026a05a960ceb91d37891ee018 Original-Change-Id: Ib4068d201dd63ebeda80157bd3130f3059919cdd Original-Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/243272 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/8756 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
@@ -531,6 +531,21 @@ config USB_PCI
|
||||
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.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Debugging"
|
||||
|
Reference in New Issue
Block a user