From patchwork Mon Jan 7 11:35:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 209901 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 245812C0092 for ; Mon, 7 Jan 2013 22:35:54 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0B7194A02C; Mon, 7 Jan 2013 12:35:48 +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 zOL-Wz+MPZBC; Mon, 7 Jan 2013 12:35:47 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 23F264A02E; Mon, 7 Jan 2013 12:35:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DBF544A020 for ; Mon, 7 Jan 2013 12:35:37 +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 6qxYMR+ZMlKB for ; Mon, 7 Jan 2013 12:35:37 +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-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by theia.denx.de (Postfix) with ESMTPS id 211024A027 for ; Mon, 7 Jan 2013 12:35:35 +0100 (CET) Received: by mail-wg0-f42.google.com with SMTP id dr1so2150860wgb.3 for ; Mon, 07 Jan 2013 03:35:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=gXeeqky5yJf8XPKsrIN+hzGE4q+6TC9kSEmrxb+pOFw=; b=QimenvuXk2tYiNg22W81xmY2RsCWRl3SiTaTaCY8sBpIj/j2LUXE6ch+F3SDTRHAJA u5swWlnUGsqNSJdbn+8zFXUedPuwHl0LnbgyxpWkqCfAi3qr0BWl61MPjaJKdpnpbV3J SH4WRqPP0GEvzQ9/EPHrPEW9Uoc3Ya676W0UCSRgqhg1G3WCKlSruyuPZS3dz3jBmmYH 0tj8JNO6/4Emsu/32nWZ4LY3s5fX7+6U2SWQx2NiqgD2kHpK+jRpU8Fv+8exORzpPNUJ dRuOFI6ftPSTaeDIB9bcDdV9lI1MAZET51tSdeMpSq+KVv9c9hgMAv9zVLGG2G9k5FwL 8jOw== X-Received: by 10.180.78.137 with SMTP id b9mr8680513wix.30.1357558535199; Mon, 07 Jan 2013 03:35:35 -0800 (PST) Received: from localhost.localdomain (11.90.21.95.dynamic.jazztel.es. [95.21.90.11]) by mx.google.com with ESMTPS id dm3sm11689184wib.9.2013.01.07.03.35.32 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 07 Jan 2013 03:35:34 -0800 (PST) From: Javier Martinez Canillas To: u-boot@lists.denx.de Date: Mon, 7 Jan 2013 12:35:21 +0100 Message-Id: <1357558521-19365-2-git-send-email-javier.martinez@collabora.co.uk> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1357558521-19365-1-git-send-email-javier.martinez@collabora.co.uk> References: <1357558521-19365-1-git-send-email-javier.martinez@collabora.co.uk> X-Gm-Message-State: ALoCoQk551Fawy20KAxekqgwyJsHNGVRs9jkM8delEqzCV4NfMYxTrQ8H2wW/ozteRurV2HxE3W4 Cc: Tom Rini , Scott Wood , Javier Martinez Canillas Subject: [U-Boot] [PATCH 2/2] OMAP3: igep00x0: add CONFIG_SYS_NS16550_BROKEN_TEMT 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 IGEP board PC16550D (ns16550) UART doesn't set the Transmitter Empty (TEMT) Bit in SPL. This makes U-Boot to hang while waiting for TEMT. Add the CONFIG_SYS_NS16550_BROKEN_TEMT config option to avoid this issue. Signed-off-by: Javier Martinez Canillas --- include/configs/igep00x0.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h index 2110e64..a5912f0 100644 --- a/include/configs/igep00x0.h +++ b/include/configs/igep00x0.h @@ -67,6 +67,9 @@ #define CONFIG_SYS_NS16550_REG_SIZE (-4) #define CONFIG_SYS_NS16550_CLK V_NS16550_CLK +/* define to avoid U-Boot to hang while waiting for TEMT */ +#define CONFIG_SYS_NS16550_BROKEN_TEMT + /* select serial console configuration */ #define CONFIG_CONS_INDEX 3 #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3