Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754245Ab0BIVQn (ORCPT ); Tue, 9 Feb 2010 16:16:43 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:51531 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754186Ab0BIVQk (ORCPT ); Tue, 9 Feb 2010 16:16:40 -0500 X-Auth-Info: I+OUROTyODn5kMsJBDanxa2GEBvgHJT8TldeDqUBAQc= From: Anatolij Gustschin To: linuxppc-dev@ozlabs.org Cc: grant.likely@secretlab.ca, linux-kernel@vger.kernel.org, gregkh@suse.de, jcrigby@gmail.com, dzu@denx.de, wd@denx.de, Anatolij Gustschin Subject: [PATCH v2 3/3] powerpc: mpc5121: enable support for more PSC UARTs Date: Tue, 9 Feb 2010 22:13:52 +0100 Message-Id: <1265750032-2803-4-git-send-email-agust@denx.de> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1265750032-2803-1-git-send-email-agust@denx.de> References: <1265750032-2803-1-git-send-email-agust@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1142 Lines: 36 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: Grant Likely --- No changes since v1. 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/