summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorramneek mehresh <ramneek.mehresh@freescale.com>2014-05-13 15:36:07 +0530
committerYork Sun <yorksun@freescale.com>2014-05-16 16:24:27 -0500
commit80ba6a6f2ae347b84a607ec085c6f0acd1584aaa (patch)
treed7bb4ff1fd7b0965ab3247db95e578530b8ce751
parent15231f6dd14b592e2bdef33f6aea1ca1d88fd1bf (diff)
downloadu-boot-imx-80ba6a6f2ae347b84a607ec085c6f0acd1584aaa.zip
u-boot-imx-80ba6a6f2ae347b84a607ec085c6f0acd1584aaa.tar.gz
u-boot-imx-80ba6a6f2ae347b84a607ec085c6f0acd1584aaa.tar.bz2
mpc85xx/p1020:Define number of USB controllers used on P1020RDB-PD platform
P1020 SoC which has two USB controllers, but only first one is used on this platform. Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
-rw-r--r--arch/powerpc/include/asm/config_mpc85xx.h2
-rw-r--r--include/configs/p1_p2_rdb_pc.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h
index e124b07..34fc8fb 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 56b638e..185df77 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -886,6 +886,10 @@
#endif
#endif
+#if defined(CONFIG_P1020RDB_PD)
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
+#endif
+
#define CONFIG_MMC
#ifdef CONFIG_MMC