diff options
-rw-r--r-- | arch/powerpc/include/asm/mpc52xx_psc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mpc52xx_psc.h b/arch/powerpc/include/asm/mpc52xx_psc.h index fb8412057450..42561f4f032d 100644 --- a/arch/powerpc/include/asm/mpc52xx_psc.h +++ b/arch/powerpc/include/asm/mpc52xx_psc.h | |||
@@ -25,7 +25,11 @@ | |||
25 | #include <asm/types.h> | 25 | #include <asm/types.h> |
26 | 26 | ||
27 | /* Max number of PSCs */ | 27 | /* Max number of PSCs */ |
28 | #ifdef CONFIG_PPC_MPC512x | ||
29 | #define MPC52xx_PSC_MAXNUM 12 | ||
30 | #else | ||
28 | #define MPC52xx_PSC_MAXNUM 6 | 31 | #define MPC52xx_PSC_MAXNUM 6 |
32 | #endif | ||
29 | 33 | ||
30 | /* Programmable Serial Controller (PSC) status register bits */ | 34 | /* Programmable Serial Controller (PSC) status register bits */ |
31 | #define MPC52xx_PSC_SR_UNEX_RX 0x0001 | 35 | #define MPC52xx_PSC_SR_UNEX_RX 0x0001 |