powerpc/mpc5121: enable support for more PSC UARTs
authorAnatolij Gustschin <agust@denx.de>
Wed, 17 Feb 2010 05:30:04 +0000 (22:30 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 17 Feb 2010 05:30:04 +0000 (22:30 -0700)
MPC5121 has 12 PSC devices. Enable UART support for all of
them by defining the number of max. PSCs depending on
selection of PPC_MPC512x platform support.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/include/asm/mpc52xx_psc.h

index fb84120..42561f4 100644 (file)
 #include <asm/types.h>
 
 /* Max number of PSCs */
+#ifdef CONFIG_PPC_MPC512x
+#define MPC52xx_PSC_MAXNUM     12
+#else
 #define MPC52xx_PSC_MAXNUM     6
+#endif
 
 /* Programmable Serial Controller (PSC) status register bits */
 #define MPC52xx_PSC_SR_UNEX_RX 0x0001