Skip to content

Commit

Permalink
configs: rk3328: config xhci controller
Browse files Browse the repository at this point in the history
Add config of max root ports and add config to enable xhci
controller.

Signed-off-by: Meng Dongyang <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
Meng Dongyang authored and sjg20 committed Jun 7, 2017
1 parent ef82a0d commit 4f3a579
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configs/evb-rk3328_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions include/configs/rk3328_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4f3a579

Please sign in to comment.