Message ID | 1495016512-13167-4-git-send-email-daniel.meng@rock-chips.com |
---|---|
State | Accepted |
Commit | 4f3a579e0513a50e7f40ee8ddaa6d96cd9647334 |
Delegated to: | Simon Glass |
Headers | show |
On 17 May 2017 at 04:21, Meng Dongyang <daniel.meng@rock-chips.com> wrote: > Add config of max root ports and add config to enable xhci > controller. > > Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com> > --- > configs/evb-rk3328_defconfig | 3 +++ > include/configs/rk3328_common.h | 3 +++ > 2 files changed, 6 insertions(+) Reviewed-by: Simon Glass <sjg@chromium.org>
On 17 May 2017 at 04:21, Meng Dongyang <daniel.meng@rock-chips.com> wrote: > Add config of max root ports and add config to enable xhci > controller. > > Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com> > --- > configs/evb-rk3328_defconfig | 3 +++ > include/configs/rk3328_common.h | 3 +++ > 2 files changed, 6 insertions(+) Reviewed-by: Simon Glass <sjg@chromium.org> Applied to u-boot-rockchip, thanks!
diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig index a4312b2..57aee02 100644 --- a/configs/evb-rk3328_defconfig +++ b/configs/evb-rk3328_defconfig @@ -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 diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h index 96b71c3..cc6c890 100644 --- a/include/configs/rk3328_common.h +++ b/include/configs/rk3328_common.h @@ -64,4 +64,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
Add config of max root ports and add config to enable xhci controller. Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com> --- configs/evb-rk3328_defconfig | 3 +++ include/configs/rk3328_common.h | 3 +++ 2 files changed, 6 insertions(+)