From patchwork Fri Feb 28 13:01:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 3740771 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9A351BF13A for ; Fri, 28 Feb 2014 13:02:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB859201CD for ; Fri, 28 Feb 2014 13:02:33 +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 E1FE3201FE for ; Fri, 28 Feb 2014 13:02:32 +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 1WJN53-00078x-65; Fri, 28 Feb 2014 13:02:21 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WJN50-0002Ww-Qm; Fri, 28 Feb 2014 13:02:18 +0000 Received: from mail-wg0-f48.google.com ([74.125.82.48]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WJN4x-0002W9-Qb for linux-arm-kernel@lists.infradead.org; Fri, 28 Feb 2014 13:02:16 +0000 Received: by mail-wg0-f48.google.com with SMTP id b13so516609wgh.31 for ; Fri, 28 Feb 2014 05:01:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=LfiDrwENmn8PLG23iJZuBA99SQuY3ETm895jaluMvX0=; b=khzrTxXeretnTbhthwF+IHRhgeHNmeppdDTF5NCiiczaSWdAX3l7Oc6PS8HTsxwRiY 3kESKtBjkp7kdcAXtXjcbGJOWMsqbWWwLm3Va4yDGH1aZiQ4kXVcOMrI043gKJTU5e8j vRSWgXNrjjuCunTKS/oP7ZvOF1jB06/ksQ4q0dNTt9/JTyPepxS5dMUlLRa4+OIaCPlx z6nS4bgHB+6Na7LYGAtF0QXTej6CbDzMSUHV5qP4hMDLdhBXpNoahfagT10W6FB7HU8y CVjGZjUEMzMReLBJraohxHBDKIAxOSsWfzAnFqMql6MRMGLjEXNogz2j15H9z1vjCmk8 3Pzw== X-Gm-Message-State: ALoCoQloHDfE7ebK/jM5kXfUakfVhaLOiKeLAW+m4s2KG6gv/AxfA1IbeMwE2iOrel78wq8uCp3w X-Received: by 10.194.71.47 with SMTP id r15mr2610653wju.19.1393592512102; Fri, 28 Feb 2014 05:01:52 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ga20sm6032373wic.0.2014.02.28.05.01.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Feb 2014 05:01:51 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: ux500: skip GIC CPU and dist address checks Date: Fri, 28 Feb 2014 14:01:47 +0100 Message-Id: <1393592507-2466-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.5.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140228_080215_968833_91AF5DC4 X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Linus Walleij , Lee Jones 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 The Ux500 is initializing its IRQs from the device tree and does not need to figure out any static base addresses anymore, this is just dead code so delete it. Cc: Lee Jones Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/cpu.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index d11ac4bf336c..db16b5a04ad5 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c @@ -52,17 +52,7 @@ void ux500_restart(enum reboot_mode mode, const char *cmd) */ void __init ux500_init_irq(void) { - void __iomem *dist_base; - void __iomem *cpu_base; - gic_arch_extn.flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND; - - if (cpu_is_u8500_family() || cpu_is_ux540_family()) { - dist_base = __io_address(U8500_GIC_DIST_BASE); - cpu_base = __io_address(U8500_GIC_CPU_BASE); - } else - ux500_unknown_soc(); - irqchip_init(); /*