]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: rk3328: config xhci controller
authorMeng Dongyang <daniel.meng@rock-chips.com>
Wed, 17 May 2017 10:21:47 +0000 (18:21 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 13:29:21 +0000 (07:29 -0600)
Add config of max root ports and add config to enable xhci
controller.

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 a4312b27f2d84a0926e7fca242ba89a1bffed27a..57aee024b05da91da5cdf8864213719d826d3c39 100644 (file)
@@ -39,3 +39,6 @@ CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_GENERIC=y
+CONFIG_USB_XHCI_DWC3=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_RK=y
index 9cfeab8182be5124541063f5a6813474f5fdbe5d..5a06244594196aff763d69730c20d6f7227b5049 100644 (file)
@@ -62,4 +62,7 @@
 /* rockchip ohci host driver */
 #define CONFIG_USB_OHCI_NEW
 #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     1
+
+/* xhci host */
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS     2
 #endif