From patchwork Fri Aug 21 16:36:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: s-paulraj@ti.com X-Patchwork-Id: 43123 Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7LGc13F003433 for ; Fri, 21 Aug 2009 16:38:02 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id n7LGaI6O013757; Fri, 21 Aug 2009 11:36:23 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n7LGaHUp029538; Fri, 21 Aug 2009 11:36:17 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id CF38A80627; Fri, 21 Aug 2009 11:36:15 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlep33.itg.ti.com (dlep33.itg.ti.com [157.170.170.112]) by linux.omap.com (Postfix) with ESMTP id 9204380626 for ; Fri, 21 Aug 2009 11:36:14 -0500 (CDT) Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n7LGaEvv029519; Fri, 21 Aug 2009 11:36:14 -0500 (CDT) Received: from gt5d9d821.telogy.design.ti.com (gt5d9d821.telogy.design.ti.com [158.218.100.23]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id n7LGaDZ04211; Fri, 21 Aug 2009 11:36:13 -0500 (CDT) Received: from gt5d9d821.telogy.design.ti.com (localhost.localdomain [127.0.0.1]) by gt5d9d821.telogy.design.ti.com (8.13.1/8.13.1) with ESMTP id n7LGaDrU017059; Fri, 21 Aug 2009 12:36:13 -0400 Received: (from a0866907@localhost) by gt5d9d821.telogy.design.ti.com (8.13.1/8.13.1/Submit) id n7LGaDoD017056; Fri, 21 Aug 2009 12:36:13 -0400 From: s-paulraj@ti.com To: davinci-linux-open-source@linux.davincidsp.com Date: Fri, 21 Aug 2009 12:36:13 -0400 Message-Id: <1250872573-17033-1-git-send-email-s-paulraj@ti.com> X-Mailer: git-send-email 1.6.0.4 Cc: Subject: [PATCH] DaVinci: DM365: adding support for UART 1 X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.4 Precedence: list List-Id: davinci-linux-open-source.linux.davincidsp.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com From: Sandeep Paulraj This patch enables UART 1 on the DM365. Signed-off-by: Sandeep Paulraj --- arch/arm/mach-davinci/serial.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/serial.c b/arch/arm/mach-davinci/serial.c index c2bcd2c..5585b01 100644 --- a/arch/arm/mach-davinci/serial.c +++ b/arch/arm/mach-davinci/serial.c @@ -84,7 +84,8 @@ int __init davinci_serial_init(struct davinci_uart_config *info) * You have to mux them off in device drivers later on if not needed. */ for (i = 0; i < DAVINCI_MAX_NR_UARTS; i++, p++) { - if (!cpu_is_davinci_dm355()) { + if (!cpu_is_davinci_dm355() && + !cpu_is_davinci_dm365()) { if (!(info->enabled_uarts & (1 << i))) continue; }