mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 09:50:53 +07:00
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>
This commit is contained in:
parent
4f35e23eb0
commit
e9cb0a4924
@ -25,7 +25,11 @@
|
|||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
|
|
||||||
/* Max number of PSCs */
|
/* Max number of PSCs */
|
||||||
|
#ifdef CONFIG_PPC_MPC512x
|
||||||
|
#define MPC52xx_PSC_MAXNUM 12
|
||||||
|
#else
|
||||||
#define MPC52xx_PSC_MAXNUM 6
|
#define MPC52xx_PSC_MAXNUM 6
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Programmable Serial Controller (PSC) status register bits */
|
/* Programmable Serial Controller (PSC) status register bits */
|
||||||
#define MPC52xx_PSC_SR_UNEX_RX 0x0001
|
#define MPC52xx_PSC_SR_UNEX_RX 0x0001
|
||||||
|
Loading…
Reference in New Issue
Block a user