From patchwork Thu Jun 5 19:10:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Ruder X-Patchwork-Id: 4308271 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 B440A9F163 for ; Thu, 5 Jun 2014 19:14:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EAE5A202BE for ; Thu, 5 Jun 2014 19:14:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 3221F20274 for ; Thu, 5 Jun 2014 19:14:16 +0000 (UTC) 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 1Wsd5E-0002g9-4M; Thu, 05 Jun 2014 19:12:16 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wsd57-0002So-Ga for linux-arm-kernel@lists.infradead.org; Thu, 05 Jun 2014 19:12:09 +0000 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 8C1361F0; Thu, 5 Jun 2014 15:11:27 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 05 Jun 2014 15:11:28 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:date:message-id :in-reply-to:references; s=smtpout; bh=wT3rW3vi9+P/2bMpBxDh1Xst3 gQ=; b=bb5ywqo7iJF8/dWPkaiqkesIM0hfPi8YLndh9wA0F0M7KTv0wFhtRc4TE gZCLri3z7FSTm47V6b7CiaT9WUdM2KBd8cRDo6mB2fJJV5Totc2nNIjse17kINJN ke7D94fHMb1fVSmbQSlimYVqPYdg7xFT2v67/s3QJpw547aN3o= X-Sasl-enc: NOJhOx8tgdUNNuKl1LtLf6okXS3FuT4fHUQbSKsx11zc 1401995487 Received: from andrewruder-hplin.dci.local (unknown [64.198.156.98]) by mail.messagingengine.com (Postfix) with ESMTPA id D8C09680116; Thu, 5 Jun 2014 15:11:26 -0400 (EDT) From: Andrew Ruder To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm: pxa: call debug_ll_io_init for earlyprintk Date: Thu, 5 Jun 2014 14:10:57 -0500 Message-Id: <1401995457-24721-2-git-send-email-andrew.ruder@elecsyscorp.com> X-Mailer: git-send-email 1.9.0.rc3.12.gbc97e2d In-Reply-To: <1401995457-24721-1-git-send-email-andrew.ruder@elecsyscorp.com> References: <1401995457-24721-1-git-send-email-andrew.ruder@elecsyscorp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140605_121209_615817_06644E16 X-CRM114-Status: UNSURE ( 7.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, Andrew Ruder , eric.y.miao@gmail.com, linux-kernel@vger.kernel.org, haojian.zhuang@gmail.com 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=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 This is already done automatically for many other ARM platforms by the ARM core code, but since pxa is using the .map_io callback, it needs to call it explicitely for earlyprintk support. Signed-off-by: Andrew Ruder Acked-by: Haojian Zhuang --- arch/arm/mach-pxa/generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 4225417..94f49c2 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c @@ -93,5 +93,6 @@ static struct map_desc common_io_desc[] __initdata = { void __init pxa_map_io(void) { + debug_ll_io_init(); iotable_init(ARRAY_AND_SIZE(common_io_desc)); }