diff mbox

[U-Boot] configs: LS1012XA: Modify CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS for LS102XA

Message ID 1417698244-29589-1-git-send-email-nikhil.badola@freescale.com
State Not Applicable
Delegated to: York Sun
Headers show

Commit Message

Nikhil Badola Dec. 4, 2014, 1:04 p.m. UTC
Change CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS value to 2 for LS102XAQDS
and LS102XATWR. The XHCI controller has 2 ports; one for 2.0 and
the other for 3.0 USB transactions

Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
---
	Depends on patch https://patchwork.ozlabs.org/patch/401448/
	and https://patchwork.ozlabs.org/patch/401449/

 include/configs/ls1021aqds.h | 2 +-
 include/configs/ls1021atwr.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

York Sun Feb. 24, 2015, 8:25 p.m. UTC | #1
Nikhil,

On 12/04/2014 05:04 AM, Nikhil Badola wrote:
> Change CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS value to 2 for LS102XAQDS
> and LS102XATWR. The XHCI controller has 2 ports; one for 2.0 and
> the other for 3.0 USB transactions
> 
> Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
> ---
> 	Depends on patch https://patchwork.ozlabs.org/patch/401448/
> 	and https://patchwork.ozlabs.org/patch/401449/
> 

Please follow up. Both dependency patches have compiling errors.

York
diff mbox

Patch

diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 1389b00..3cd4a9f 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -298,7 +298,7 @@  unsigned long get_board_ddr_clk(void);
 #define CONFIG_USB_XHCI
 #define CONFIG_USB_XHCI_FSL
 #define CONFIG_USB_MAX_CONTROLLER_COUNT	1
-#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS	1
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS	2
 #endif
 
 #if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB)
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 2b23cc9..4098214 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -46,7 +46,7 @@ 
 #define CONFIG_USB_XHCI
 #define CONFIG_USB_XHCI_FSL
 #define CONFIG_USB_MAX_CONTROLLER_COUNT        1
-#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS     1
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS     2
 #endif
 
 #if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB)