Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by ozlabs.org (Postfix) with ESMTP id 74E7CB855B for ; Tue, 2 Feb 2010 18:48:56 +1100 (EST) From: Anatolij Gustschin To: linuxppc-dev@ozlabs.org Subject: [PATCH 3/3] powerpc: mpc5121: enable support for more PSC UARTs Date: Tue, 2 Feb 2010 08:47:44 +0100 Message-Id: <1265096864-3506-4-git-send-email-agust@denx.de> In-Reply-To: <1265096864-3506-1-git-send-email-agust@denx.de> References: <1265096864-3506-1-git-send-email-agust@denx.de> Cc: Anatolij Gustschin , wd@denx.de, dzu@denx.de List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Cc: Grant Likely --- 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 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 -- 1.6.3.3