From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meng Dongyang Date: Tue, 6 Jun 2017 18:31:35 +0800 Subject: [U-Boot] [PATCH v3 03/10] configs: rk3328: config xhci controller In-Reply-To: <1496745102-28267-1-git-send-email-daniel.meng@rock-chips.com> References: <1496745102-28267-1-git-send-email-daniel.meng@rock-chips.com> Message-ID: <1496745102-28267-4-git-send-email-daniel.meng@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add config of max root ports and add config to enable xhci controller. Signed-off-by: Meng Dongyang Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None configs/evb-rk3328_defconfig | 3 +++ include/configs/rk3328_common.h | 3 +++ 2 files changed, 6 insertions(+) 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 -- 1.9.1