]> git.sur5r.net Git - u-boot/commitdiff
configs: rk3328: add support for usb and config ehci and ohci driver
authorMeng Dongyang <daniel.meng@rock-chips.com>
Wed, 17 May 2017 10:21:45 +0000 (18:21 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 13:29:21 +0000 (07:29 -0600)
Add defconfig for usb and ehci and ohci controller, config maximal
number of ports of the root hub for ohci driver.

Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/evb-rk3328_defconfig
include/configs/rk3328_common.h

index 96241f6f9bd2834546f9ac464206a4560554a98a..a4312b27f2d84a0926e7fca242ba89a1bffed27a 100644 (file)
@@ -31,3 +31,11 @@ CONFIG_SYS_NS16550=y
 CONFIG_SYSRESET=y
 CONFIG_USE_TINY_PRINTF=y
 CONFIG_ERRNO_STR=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_CMD_USB=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_GENERIC=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_GENERIC=y
index 7ccbc9b241ca855e45877b97743de74508a03361..9cfeab8182be5124541063f5a6813474f5fdbe5d 100644 (file)
@@ -59,4 +59,7 @@
 
 #endif
 
+/* rockchip ohci host driver */
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     1
 #endif