public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] 85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform
@ 2014-05-13 10:06 Ramneek Mehresh
  2014-05-20 15:38 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Ramneek Mehresh @ 2014-05-13 10:06 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
---
 arch/powerpc/include/asm/config_mpc85xx.h | 2 ++
 include/configs/p1_p2_rdb_pc.h            | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h
index 864e74c..27c8039 100644
--- a/arch/powerpc/include/asm/config_mpc85xx.h
+++ b/arch/powerpc/include/asm/config_mpc85xx.h
@@ -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
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index e745945..bf00fba 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -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
-- 
1.8.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] 85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform
  2014-05-13 10:06 [U-Boot] [PATCH] 85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform Ramneek Mehresh
@ 2014-05-20 15:38 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2014-05-20 15:38 UTC (permalink / raw)
  To: u-boot

On 05/13/2014 03:06 AM, Ramneek Mehresh wrote:
> 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
> 
> Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
> ---


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

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-20 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13 10:06 [U-Boot] [PATCH] 85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform Ramneek Mehresh
2014-05-20 15:38 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox