diff mbox

[U-Boot] powerpc: 85xx: Modify CONFIG_USB_MAX_CONTROLLER_COUNT for P1022DS

Message ID 1422600731-28958-1-git-send-email-ying.zhang@freescale.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

ying.zhang@freescale.com Jan. 30, 2015, 6:52 a.m. UTC
From: Ying Zhang <b40530@freescale.com>

Modify CONFIG_USB_MAX_CONTROLLER_COUNT value to 1 on P1022DS.
As ETSEC2 and USB2 are muxed; thus if ETSEC2 is enabled, the
system bus hangs on USB2 if ETSEC2 is enabled but "usb start"
command is issued. Hence making default controller count to 1
to avoid system hang.

Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: Yusong Sun <yorksun@freescale.com>
---
 arch/powerpc/include/asm/config_mpc85xx.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

York Sun March 5, 2015, 8:09 p.m. UTC | #1
On 01/29/2015 10:52 PM, ying.zhang@freescale.com wrote:
> From: Ying Zhang <b40530@freescale.com>
> 
> Modify CONFIG_USB_MAX_CONTROLLER_COUNT value to 1 on P1022DS.
> As ETSEC2 and USB2 are muxed; thus if ETSEC2 is enabled, the
> system bus hangs on USB2 if ETSEC2 is enabled but "usb start"
> command is issued. Hence making default controller count to 1
> to avoid system hang.
> 
> Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
> Reviewed-by: Yusong Sun <yorksun@freescale.com>
> ---


Applied to u-boot-mpc85xx master, awaiting for upstream.

York
diff mbox

Patch

diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h
index 01b0905..d0e0021 100644
--- a/arch/powerpc/include/asm/config_mpc85xx.h
+++ b/arch/powerpc/include/asm/config_mpc85xx.h
@@ -201,7 +201,7 @@ 
 #elif defined(CONFIG_P1013)
 #define CONFIG_MAX_CPUS			1
 #define CONFIG_SYS_FSL_NUM_LAWS		12
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
+#define CONFIG_USB_MAX_CONTROLLER_COUNT	1
 #define CONFIG_SYS_PPC_E500_DEBUG_TLB	2
 #define CONFIG_TSECV2
 #define CONFIG_SYS_FSL_SEC_COMPAT	2
@@ -285,7 +285,7 @@ 
 #define CONFIG_SYS_PPC_E500_DEBUG_TLB	2
 #define CONFIG_TSECV2
 #define CONFIG_SYS_FSL_SEC_COMPAT	2
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
+#define CONFIG_USB_MAX_CONTROLLER_COUNT	1
 #define CONFIG_SYS_CCSRBAR_DEFAULT	0xff700000
 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111