diff options
author | Anatolij Gustschin <agust@denx.de> | 2010-02-17 00:30:04 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-02-17 00:30:04 -0500 |
commit | e9cb0a49247ea6b3cd078716bcdcbd5d911e76ac (patch) | |
tree | 89248e0f571a9ff30e87663b5b954c8fd35d1a19 /arch/powerpc/include/asm | |
parent | 4f35e23eb0d62c5cd8b857933a0b6bd56ebdb010 (diff) |
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 <agust@denx.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/include/asm')
-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 |