summaryrefslogtreecommitdiff
path: root/src/drivers/usb/Kconfig
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2016-11-18 20:11:43 +0100
committerNico Huber <nico.h@gmx.de>2016-11-21 15:04:35 +0100
commitc868fd16a79556db6005bd784e21a654a22042c3 (patch)
tree3f2fb51700801beb07d303a63b42245d8fd657c2 /src/drivers/usb/Kconfig
parent378d79eb30f1fd990a17b26840741adfce35a8a2 (diff)
drivers/usb: Add option for baudrate of FT232H UART
The maximum supported rate is 12MHz. Only tested with 4MHz though, since I couldn't set anything higher on my Linux receiver. But that works fine with another FT*232H as receiver, whoosh. Change-Id: Ie39aa0170882ff5b4512f0349f6f86d3f0b86421 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/17477 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/drivers/usb/Kconfig')
-rw-r--r--src/drivers/usb/Kconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/drivers/usb/Kconfig b/src/drivers/usb/Kconfig
index c5c1ec7187..935108fd73 100644
--- a/src/drivers/usb/Kconfig
+++ b/src/drivers/usb/Kconfig
@@ -93,10 +93,20 @@ config USBDEBUG_DONGLE_FTDI_FT232H
bool "FTDI FT232H UART"
help
Use this with FT232H usb-to-uart. Configuration is hard-coded
- to use 115200, 8n1, no flow control.
+ to use 8n1, no flow control.
endchoice
+config USBDEBUG_DONGLE_FTDI_FT232H_BAUD
+ int "FTDI FT232H baud rate"
+ default 115200
+ depends on USBDEBUG_DONGLE_FTDI_FT232H
+ help
+ Select baud rate for FT232H in the range 733..12,000,000. Make
+ sure that your receiving side supports the same setting and your
+ connection works with it. Multiples of 115,200 seem to be a good
+ choice, and EHCI debug usually can't saturate more than 576,000.
+
config USBDEBUG_OPTIONAL_HUB_PORT
int
default 2 if USBDEBUG_DONGLE_BEAGLEBONE