From patchwork Mon Feb 10 10:37:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3618211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3A04C9F2D6 for ; Mon, 10 Feb 2014 11:44:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6E69F2017D for ; Mon, 10 Feb 2014 11:43:59 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8554220176 for ; Mon, 10 Feb 2014 11:43:57 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WCoGi-0000I0-E1; Mon, 10 Feb 2014 10:39:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WCoFi-0007Ba-Az; Mon, 10 Feb 2014 10:38:14 +0000 Received: from mail-ea0-f180.google.com ([209.85.215.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WCoF3-00075O-8l for linux-arm-kernel@lists.infradead.org; Mon, 10 Feb 2014 10:37:35 +0000 Received: by mail-ea0-f180.google.com with SMTP id o10so2899898eaj.11 for ; Mon, 10 Feb 2014 02:37:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :content-type; bh=hM/D/PiPkyFAzvNFTeqK3yl5xEPI1hAzyYR1b191Ng0=; b=liA7c74FxPhmWis1jV7acbawyTdt+85AfSAhEZAvH77ON9FIkxC/H/W2C9PN5kUDIO FZ9VOSUmLeiHmbZzW6L+odVTmSJwoWHQrYt6Tv7WfQlWxy1wIZLltY8UcDOo4uvefRAQ 9GlPSp/GX8HFTJLQU/j0M3l9ieBFAmXc2ahj9a7v1Ih63dXPAeF57o7jL0M3K1xjnA1t X3igx1NsHuaa17bKyZN1ciAmwOYTfI6yHr19P2MPByrP8Txx82aA/gVzYHIuXLmsVjF5 04YxihTvR6Sjd49p2DfABMPs71cJF4xB6FZBg/ID81F9om6Kc3H6whbH0bJiX1vLNGXv aM4A== X-Gm-Message-State: ALoCoQnMswgISmTQKoUyvDHT82kqugghspKnn8Z7tCnfU2MhQ5cw9ddsOY14TBL7ymFVVC7JNcqN X-Received: by 10.14.105.200 with SMTP id k48mr35204505eeg.44.1392028628911; Mon, 10 Feb 2014 02:37:08 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id j41sm52893516eeg.10.2014.02.10.02.37.05 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 10 Feb 2014 02:37:07 -0800 (PST) From: Michal Simek To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: zynq: Add waituart implementation Date: Mon, 10 Feb 2014 11:37:03 +0100 Message-Id: <13a04fc77bd93b2ad5a15a8967627a11fb7c8925.1392028615.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140210_053733_588589_95D1A898 X-CRM114-Status: GOOD ( 11.74 ) X-Spam-Score: -1.9 (-) Cc: Josh Cartwright , monstr@monstr.eu, Russell King , Peter Crosthwaite , linux-kernel@vger.kernel.org, Steffen Trumtrar X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing waituart implementation. Signed-off-by: Michal Simek --- arch/arm/include/debug/zynq.S | 3 +++ 1 file changed, 3 insertions(+) -- 1.8.2.3 diff --git a/arch/arm/include/debug/zynq.S b/arch/arm/include/debug/zynq.S index f9aa974..0b762fa 100644 --- a/arch/arm/include/debug/zynq.S +++ b/arch/arm/include/debug/zynq.S @@ -42,6 +42,9 @@ .endm .macro waituart,rd,rx +1001: ldr \rd, [\rx, #UART_SR_OFFSET] + tst \rd, #UART_SR_TXEMPTY + beq 1001b .endm .macro busyuart,rd,rx