From: Anatolij Gustschin Date: Wed, 17 Feb 2010 05:30:04 +0000 (-0700) Subject: powerpc/mpc5121: enable support for more PSC UARTs X-Git-Tag: v2.6.34-rc1~271^2~17^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9cb0a49247ea6b3cd078716bcdcbd5d911e76ac;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git powerpc/mpc5121: enable support for more PSC UARTs 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 Acked-by: Greg Kroah-Hartman Signed-off-by: Grant Likely --- diff --git a/arch/powerpc/include/asm/mpc52xx_psc.h b/arch/powerpc/include/asm/mpc52xx_psc.h index fb84120..42561f4 100644 --- a/arch/powerpc/include/asm/mpc52xx_psc.h +++ b/arch/powerpc/include/asm/mpc52xx_psc.h @@ -25,7 +25,11 @@ #include /* 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