From patchwork Fri Aug 23 12:23:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19440 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B25AD248E6 for ; Fri, 23 Aug 2013 12:24:05 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id l109sf423886yhq.11 for ; Fri, 23 Aug 2013 05:24:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=chcT0Gt1mE7EOZYGeHqqB+Mhap3VkS+Cbikr4SSgRq4=; b=M2MAlo9fhfJ26iWoJyv8fw34D79uh0osjMUewzu2pJr0LcfQC5IZdhESSKiZMhlY60 BvWoFNQ8mmw9b0r1b8s2wR2LvwRz1aydn/IHNv1FWHicVwa8lPrOiltELkFRTvt8Bgni q3GRfiqgJhvNV4GpQRSA8Rk1S6dm9/6IL/ZLjaxPO8OymclW1+vH0Bp1URG4nqZYGIa0 UrgrU13KUY/sYX0OcFKtw4SMDhYcqILBN6h8D+jNPkbGcBuFBhDCrE8LGHe8x3VykjOj cRtOvwBAGyEUjvV422rM3J8CXsl/Jv80LU9+EKxR16Sja8Bwn+kuvYLjSPJZh3KchR9r BZwQ== X-Received: by 10.236.132.163 with SMTP id o23mr1352042yhi.31.1377260645527; Fri, 23 Aug 2013 05:24:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.204 with SMTP id k12ls1345500qej.25.gmail; Fri, 23 Aug 2013 05:24:05 -0700 (PDT) X-Received: by 10.58.165.70 with SMTP id yw6mr16451389veb.19.1377260645451; Fri, 23 Aug 2013 05:24:05 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id vv9si5474030vec.43.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id m17so384014vca.31 for ; Fri, 23 Aug 2013 05:24:05 -0700 (PDT) X-Gm-Message-State: ALoCoQkxlw9iGiCxCz6VQ5l8eT0zq1/2j04VRV5fjjSiEhMlp7VlFDq8HODkdJZfhEc86kNzMqYE X-Received: by 10.220.16.73 with SMTP id n9mr517664vca.24.1377260645353; Fri, 23 Aug 2013 05:24:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp90083vcz; Fri, 23 Aug 2013 05:24:04 -0700 (PDT) X-Received: by 10.15.55.133 with SMTP id v5mr59641eew.96.1377260644171; Fri, 23 Aug 2013 05:24:04 -0700 (PDT) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx.google.com with ESMTPS id o6si16752713eea.219.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:04 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.182 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.215.182; Received: by mail-ea0-f182.google.com with SMTP id o10so271347eaj.27 for ; Fri, 23 Aug 2013 05:24:03 -0700 (PDT) X-Received: by 10.14.176.8 with SMTP id a8mr26349933eem.12.1377260643584; Fri, 23 Aug 2013 05:24:03 -0700 (PDT) Received: from localhost.localdomain (cpc15-aztw25-2-0-cust493.aztw.cable.virginmedia.com. [92.233.57.238]) by mx.google.com with ESMTPSA id f49sm24417729eec.7.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:02 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@linaro.org, Lee Jones Subject: [PATCH 06/40] ARM: ux500: Disable Snowball's SMSC911x Ethernet when booting with ATAGs Date: Fri, 23 Aug 2013 13:23:06 +0100 Message-Id: <1377260620-18829-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1377260620-18829-1-git-send-email-lee.jones@linaro.org> References: <1377260620-18829-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It's time to remove all ATAG support from ux500 and rely solely on Device Tree booting. This patch is part of that endeavour. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index dcd482b..062f8bf 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include @@ -119,36 +118,6 @@ static struct ab8500_codec_platform_data ab8500_codec_pdata = { .ear_cmv = EAR_CMV_0_95V }; -static struct smsc911x_platform_config snowball_sbnet_cfg = { - .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_HIGH, - .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, - .flags = SMSC911X_USE_16BIT | SMSC911X_FORCE_INTERNAL_PHY, - .shift = 1, -}; - -static struct resource sbnet_res[] = { - { - .name = "smsc911x-memory", - .start = (0x5000 << 16), - .end = (0x5000 << 16) + 0xffff, - .flags = IORESOURCE_MEM, - }, - { - .start = NOMADIK_GPIO_TO_IRQ(140), - .end = NOMADIK_GPIO_TO_IRQ(140), - .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, - }, -}; - -static struct platform_device snowball_sbnet_dev = { - .name = "smsc911x", - .num_resources = ARRAY_SIZE(sbnet_res), - .resource = sbnet_res, - .dev = { - .platform_data = &snowball_sbnet_cfg, - }, -}; - struct ab8500_platform_data ab8500_platdata = { .irq_base = MOP500_AB8500_IRQ_BASE, .regulator = &ab8500_regulator_plat_data, @@ -399,7 +368,6 @@ static void __init u8500_cryp1_hash1_init(struct device *parent) } static struct platform_device *snowball_platform_devs[] __initdata = { - &snowball_sbnet_dev, &snowball_gpio_en_3v3_regulator_dev, &u8500_cpufreq_cooling_device, &sdi0_regulator,