Skip to contentSkip to conversation

85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform

PATCH New Ramneek Mehresh 2 participants 2 messages May 13, 2014 – May 20, 2014 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform

Define number of USB controllers used on P1020RDB-PD platform. This platform has P1020 SoC which has two USB controllers, but only first one is used on the platform

---
 arch/powerpc/include/asm/config_mpc85xx.h | 2 ++
 include/configs/p1_p2_rdb_pc.h            | 4 ++++
 2 files changed, 6 insertions(+)
arch/powerpc/include/asm/config_mpc85xx.h +2 -0
index 864e74c..27c8039 100644
@@ -247,7 +247,9 @@
 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
 #define CONFIG_SYS_FSL_ERRATUM_A005125
+#ifndef CONFIG_USB_MAX_CONTROLLER_COUNT
 #define CONFIG_USB_MAX_CONTROLLER_COUNT	2
+#endif
 
 #elif defined(CONFIG_P1021)
 #define CONFIG_MAX_CPUS			2
include/configs/p1_p2_rdb_pc.h +4 -0
index e745945..bf00fba 100644
@@ -883,6 +883,10 @@
 #endif
 #endif
 
+#if defined(CONFIG_P1020RDB_PD)
+#define CONFIG_USB_MAX_CONTROLLER_COUNT	1
+#endif
+
 #define CONFIG_MMC
 
 #ifdef CONFIG_MMC
Signature · 1 line
1.8.4.1
#1 lore raw

PATCH 1/1 85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform

Quoted 6 lines · Ramneek Mehresh

Define number of USB controllers used on P1020RDB-PD platform. This platform has P1020 SoC which has two USB controllers, but only first one is used on the platform

---

Applied to u-boot-mpc85xx/master with minor change to subject line.

York