Message ID | 20150316023740.GH20455@dragon |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCV3TM5A74DRBFUFTGUAKGQE7KO3U4I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9EAA5214BF for <linaro@patches.linaro.org>; Mon, 16 Mar 2015 02:40:23 +0000 (UTC) Received: by lbdu14 with SMTP id u14sf24441481lbd.3 for <linaro@patches.linaro.org>; Sun, 15 Mar 2015 19:40:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :cc:precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:content-type:content-transfer-encoding :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=+Xswe838UH7K56fIi0AUExtfDWQq68AXK/VdoTkOiwc=; b=QHG23zJ1M5olqrHIeA5ICLyrH5A7YV1lD7s+Iqdel0icFwvK8C1Hewbx8bRp/D4n5U dVQFM/hW5Z7Qfu630n/b7IFXsXEY7kFGwidDBEvBo9i4OuZLZPiCv5fgy7/KiN1wVdBJ jifAYNtvorC/b5QDId2OiOmtJT33tP4cz6X9IP/fIsZCblPLpe9ZKp8SlFxkd4HeO525 FVXd9kTggKfBapPEvLpfVnEm0kS2s2KOh96FkKtraS37TBziam/bEfaR/VPESK5CX8jt fs8HT1+QJTRHUjDUhHxMo05InA97kc3EtLw18GG21+hL/uRwhXGfhYpTjgGbvcvv8p0M zUPQ== X-Gm-Message-State: ALoCoQlz+6d52dA9mLoOINqB/OTudMpQdzls31juKcq+8rfEf9N1P2+/gMMBgdGDwShxZOmyBCrV X-Received: by 10.112.180.74 with SMTP id dm10mr1113179lbc.11.1426473622228; Sun, 15 Mar 2015 19:40:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.197.34 with SMTP id ir2ls571571lac.84.gmail; Sun, 15 Mar 2015 19:40:21 -0700 (PDT) X-Received: by 10.152.4.136 with SMTP id k8mr53180524lak.103.1426473621883; Sun, 15 Mar 2015 19:40:21 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id ti8si6928731lbb.149.2015.03.15.19.40.21 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Mar 2015 19:40:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbcds1 with SMTP id ds1so22480203lbc.3 for <patchwork-forward@linaro.org>; Sun, 15 Mar 2015 19:40:21 -0700 (PDT) X-Received: by 10.112.181.41 with SMTP id dt9mr54497153lbc.56.1426473621460; Sun, 15 Mar 2015 19:40:21 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2303521lbj; Sun, 15 Mar 2015 19:40:20 -0700 (PDT) X-Received: by 10.70.65.105 with SMTP id w9mr73355980pds.129.1426473619565; Sun, 15 Mar 2015 19:40:19 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id fe2si19136473pab.161.2015.03.15.19.40.18 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Mar 2015 19:40:19 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YXKvX-0003Yy-GG; Mon, 16 Mar 2015 02:38:47 +0000 Received: from mail-pa0-f41.google.com ([209.85.220.41]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YXKvU-0003G1-Gt for linux-arm-kernel@lists.infradead.org; Mon, 16 Mar 2015 02:38:45 +0000 Received: by pacwe9 with SMTP id we9so50276413pac.1 for <linux-arm-kernel@lists.infradead.org>; Sun, 15 Mar 2015 19:38:23 -0700 (PDT) X-Received: by 10.70.33.3 with SMTP id n3mr98468753pdi.132.1426473502985; Sun, 15 Mar 2015 19:38:22 -0700 (PDT) Received: from dragon (119.81.160.152-static.reverse.softlayer.com. [119.81.160.152]) by mx.google.com with ESMTPSA id tr8sm14401655pab.4.2015.03.15.19.38.18 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 15 Mar 2015 19:38:22 -0700 (PDT) Date: Mon, 16 Mar 2015 10:37:42 +0800 From: Shawn Guo <shawn.guo@linaro.org> To: Russell King - ARM Linux <linux@arm.linux.org.uk> Subject: Re: [PATCH 02/10] ARM: zx: add low level debug support Message-ID: <20150316023740.GH20455@dragon> References: <1426333785-3952-1-git-send-email-jun.nie@linaro.org> <1426333785-3952-3-git-send-email-jun.nie@linaro.org> <20150315224817.GC8656@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150315224817.GC8656@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150315_193844_604892_ECD85854 X-CRM114-Status: GOOD ( 15.74 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.41 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.41 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Jun Nie <jun.nie@linaro.org>, mturquette@linaro.org, linux-arm-kernel@lists.infradead.org, zte-lt@lists.linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shawn.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/arch/arm/include/debug/pl01x.S b/arch/arm/include/debug/pl01x.S index 92ef808a2337..da83512c4788 100644 --- a/arch/arm/include/debug/pl01x.S +++ b/arch/arm/include/debug/pl01x.S @@ -12,6 +12,13 @@ */ #include <linux/amba/serial.h> +#ifdef CONFIG_ARCH_ZX +#undef UART01x_DR +#undef UART01x_FR +#define UART01x_DR 0x04 +#define UART01x_FR 0x14 +#endif + #ifdef CONFIG_DEBUG_UART_PHYS .macro addruart, rp, rv, tmp ldr \rp, =CONFIG_DEBUG_UART_PHYS