From patchwork Mon Apr 20 15:42:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dinguyen@opensource.altera.com X-Patchwork-Id: 6243051 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CBEE4BF4A6 for ; Mon, 20 Apr 2015 15:51:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C39F120254 for ; Mon, 20 Apr 2015 15:51:25 +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 F3A8020253 for ; Mon, 20 Apr 2015 15:51:24 +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 1YkDw9-0002ui-Cm; Mon, 20 Apr 2015 15:48:41 +0000 Received: from mail-by2on0625.outbound.protection.outlook.com ([2a01:111:f400:fc0c::625] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkDw3-0002Rx-CD for linux-arm-kernel@lists.infradead.org; Mon, 20 Apr 2015 15:48:36 +0000 Received: from BN3PR0301CA0022.namprd03.prod.outlook.com (0.160.180.160) by CY1PR0301MB0668.namprd03.prod.outlook.com (0.160.158.150) with Microsoft SMTP Server (TLS) id 15.1.136.25; Mon, 20 Apr 2015 15:48:11 +0000 Received: from BL2FFO11OLC013.protection.gbl (2a01:111:f400:7c09::141) by BN3PR0301CA0022.outlook.office365.com (2a01:111:e400:4000::32) with Microsoft SMTP Server (TLS) id 15.1.136.25 via Frontend Transport; Mon, 20 Apr 2015 15:48:11 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; lists.infradead.org; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.236 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.236; helo=sj-itexedge04.altera.priv.altera.com; Received: from sj-itexedge04.altera.priv.altera.com (66.35.236.236) by BL2FFO11OLC013.mail.protection.outlook.com (10.173.160.161) with Microsoft SMTP Server (TLS) id 15.1.148.11 via Frontend Transport; Mon, 20 Apr 2015 15:48:10 +0000 Received: from na01-bn1-obe.outbound.protection.outlook.com (207.46.163.190) by webmail.altera.com (66.35.236.236) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 20 Apr 2015 08:47:32 -0700 Received: from BY1PR03MB1370.namprd03.prod.outlook.com (0.162.109.28) by BY1PR03MB1387.namprd03.prod.outlook.com (0.162.127.141) with Microsoft SMTP Server (TLS) id 15.1.136.25; Mon, 20 Apr 2015 15:48:04 +0000 Authentication-Results: arm.linux.org.uk; dkim=none (message not signed) header.d=none; Received: from linux-builds1.altera.com (64.129.157.38) by BY1PR03MB1370.namprd03.prod.outlook.com (0.162.109.28) with Microsoft SMTP Server (TLS) id 15.1.148.15; Mon, 20 Apr 2015 15:48:03 +0000 From: To: Subject: [PATCH RESEND 2/2] ARM: socfpga: remove the need to map uart_io_desc Date: Mon, 20 Apr 2015 10:42:52 -0500 Message-ID: <1429544572-22421-2-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.2.1 In-Reply-To: <1429544572-22421-1-git-send-email-dinguyen@opensource.altera.com> References: <1429544572-22421-1-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: DM2PR10CA0058.namprd10.prod.outlook.com (10.141.241.26) To BY1PR03MB1370.namprd03.prod.outlook.com (25.162.109.28) X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1370; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1387; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB0668; X-Forefront-Antispam-Report-Untrusted: BMV:1; SFV:NSPM; SFS:(10009020)(6009001)(2351001)(229853001)(47776003)(46102003)(53416004)(86362001)(76176999)(50986999)(42186005)(66066001)(92566002)(2950100001)(50466002)(122386002)(62966003)(77156002)(50226001)(33646002)(86152002)(40100003)(19580405001)(19580395003)(87976001)(48376002)(110136001)(217873001)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR03MB1370; H:linux-builds1.altera.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5002010)(5005006); SRVR:BY1PR03MB1370; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1370; BCL:0; PCL:0; RULEID:(601004)(5005006)(5002010); SRVR:CY1PR0301MB0668; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB0668; X-Forefront-PRVS: 05529C6FDB X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1370 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BL2FFO11OLC013.protection.gbl X-Forefront-Antispam-Report: CIP:66.35.236.236; CTRY:US; IPV:NLI; EFV:NLI; BMV:1; SFV:NSPM; SFS:(10009020)(6009001)(339900001)(199003)(189002)(85426001)(86362001)(105606002)(86152002)(19580405001)(110136001)(6806004)(33646002)(53416004)(77156002)(46102003)(66066001)(87936001)(47776003)(122386002)(48376002)(2950100001)(50226001)(40100003)(229853001)(62966003)(50466002)(19580395003)(2351001)(92566002)(76176999)(106466001)(50986999)(7099027)(4001430100001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0668; H:sj-itexedge04.altera.priv.altera.com; FPR:; SPF:Fail; MLV:ovrnspm; A:0; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Forefront-PRVS: 05529C6FDB X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2015 15:48:10.5747 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.236]; Helo=[sj-itexedge04.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0668 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150420_084835_505640_6E4EFC13 X-CRM114-Status: UNSURE ( 6.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.3 (+) Cc: Dinh Nguyen , dinh.linux@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.9 required=5.0 tests=BAYES_00,RCVD_ILLEGAL_IP, RCVD_IN_DNSWL_MED,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham 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 From: Dinh Nguyen All the necessary debug uart mapping is already being done in debug_ll_io_init, there's no need for it here. Signed-off-by: Dinh Nguyen Cc: Russell King --- arch/arm/mach-socfpga/socfpga.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c index f5e597c..358f2c7 100644 --- a/arch/arm/mach-socfpga/socfpga.c +++ b/arch/arm/mach-socfpga/socfpga.c @@ -39,13 +39,6 @@ static struct map_desc scu_io_desc __initdata = { .type = MT_DEVICE, }; -static struct map_desc uart_io_desc __initdata = { - .virtual = 0xfec02000, - .pfn = __phys_to_pfn(0xffc02000), - .length = SZ_8K, - .type = MT_DEVICE, -}; - static void __init socfpga_scu_map_io(void) { unsigned long base; @@ -60,8 +53,6 @@ static void __init socfpga_scu_map_io(void) static void __init socfpga_map_io(void) { socfpga_scu_map_io(); - iotable_init(&uart_io_desc, 1); - early_printk("Early printk initialized\n"); } void __init socfpga_sysmgr_init(void)