]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc85xx/p1020:Define number of USB controllers used on P1020RDB-PD platform
authorramneek mehresh <ramneek.mehresh@freescale.com>
Tue, 13 May 2014 10:06:07 +0000 (15:36 +0530)
committerYork Sun <yorksun@freescale.com>
Fri, 16 May 2014 21:24:27 +0000 (16:24 -0500)
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>
arch/powerpc/include/asm/config_mpc85xx.h
include/configs/p1_p2_rdb_pc.h

index e124b07b25d5621bd5d635a2580dfacdd1bbdac7..34fc8fb5347f3a47217f414b50dbbb6b49710f0a 100644 (file)
 #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
index 56b638e23b698ff1d23ecbd66df1dd17aea8f955..185df775aa00e38f381046bede4e0773ef4d5218 100644 (file)
 #endif
 #endif
 
+#if defined(CONFIG_P1020RDB_PD)
+#define CONFIG_USB_MAX_CONTROLLER_COUNT        1
+#endif
+
 #define CONFIG_MMC
 
 #ifdef CONFIG_MMC