From patchwork Fri Mar 1 01:29:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 224217 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id F1A6B2C0296 for ; Fri, 1 Mar 2013 12:31:27 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8CDFF4A04F; Fri, 1 Mar 2013 02:31:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T5Rk20UXAd4X; Fri, 1 Mar 2013 02:31:02 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 720D04A0C6; Fri, 1 Mar 2013 02:30:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 36F4E4A0C6 for ; Fri, 1 Mar 2013 02:30:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TjKDFhl6mSEo for ; Fri, 1 Mar 2013 02:30:11 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by theia.denx.de (Postfix) with ESMTPS id 346524A04B for ; Fri, 1 Mar 2013 02:29:56 +0100 (CET) Received: by mail-ie0-f174.google.com with SMTP id k10so2908051iea.19 for ; Thu, 28 Feb 2013 17:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=AjQay5bh+brsogKXN+mTTq+mKectC1BcxoRRoFgltNA=; b=cB3JbvTeVibRPjuvxa6ZaJRVqUwSzQuFN5o6zQvV+vi6sSu83+uJEHmmU7qWczVAuQ UNThVKTrORu1seyDFq0TmZUKAfnPNrqT4+H3JIWcDkNk0KiI+zcazj5wIbihcKm3/whu CHQniFl4yHB6tSrkc8KIrjlgZ7n2gve0X9+TzEWZfVs9iuuKuba7MjrcQsRdaqRYkkup 3pH68h9jzxfBag58JjyWCsgweBBLaAk3dc2X171Rno0Pnw0VoOeY+eYBCSTItxSo5UC0 jAO+GbnGLxub8Y1ryKafLAvza+4VkU00AFoCPjCctoXlPXzIJ535Gbx8qGJKzDOJvLu+ FVYg== X-Received: by 10.42.30.132 with SMTP id v4mr4689195icc.34.1362101395507; Thu, 28 Feb 2013 17:29:55 -0800 (PST) Received: from beef.ohporter.com (cpe-98-27-254-98.neo.res.rr.com. [98.27.254.98]) by mx.google.com with ESMTPS id wx2sm3986821igb.4.2013.02.28.17.29.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Feb 2013 17:29:55 -0800 (PST) From: Matt Porter To: U-Boot Mailing List Date: Thu, 28 Feb 2013 20:29:52 -0500 Message-Id: <1362101393-5131-9-git-send-email-mporter@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362101393-5131-1-git-send-email-mporter@ti.com> References: <1362101393-5131-1-git-send-email-mporter@ti.com> Cc: Tom Rini Subject: [U-Boot] [PATCH v2 8/9] ns16550: enable quirks for ti814x X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de TI814X requires the same quirks as AM33XX to be enabled. Signed-off-by: Matt Porter Reviewed-by: Tom Rini Acked-by: Peter Korsgaard --- v2: no changes --- drivers/serial/ns16550.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index 87a0917..02bc85b 100644 --- a/drivers/serial/ns16550.c +++ b/drivers/serial/ns16550.c @@ -43,7 +43,7 @@ void NS16550_init(NS16550_t com_port, int baud_divisor) serial_out(CONFIG_SYS_NS16550_IER, &com_port->ier); #if (defined(CONFIG_OMAP) && !defined(CONFIG_OMAP3_ZOOM2)) || \ - defined(CONFIG_AM33XX) + defined(CONFIG_AM33XX) || defined(CONFIG_TI814X) serial_out(0x7, &com_port->mdr1); /* mode select reset TL16C750*/ #endif serial_out(UART_LCR_BKSE | UART_LCRVAL, (ulong)&com_port->lcr); @@ -57,7 +57,8 @@ void NS16550_init(NS16550_t com_port, int baud_divisor) serial_out((baud_divisor >> 8) & 0xff, &com_port->dlm); serial_out(UART_LCRVAL, &com_port->lcr); #if (defined(CONFIG_OMAP) && !defined(CONFIG_OMAP3_ZOOM2)) || \ - defined(CONFIG_AM33XX) || defined(CONFIG_SOC_DA8XX) + defined(CONFIG_AM33XX) || defined(CONFIG_SOC_DA8XX) || \ + defined(CONFIG_TI814X) #if defined(CONFIG_APTIX) /* /13 mode so Aptix 6MHz can hit 115200 */