From patchwork Tue May 21 16:41:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 245343 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3C1A82C0320 for ; Wed, 22 May 2013 02:43:11 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755070Ab3EUQmw (ORCPT ); Tue, 21 May 2013 12:42:52 -0400 Received: from mail-ee0-f49.google.com ([74.125.83.49]:39043 "EHLO mail-ee0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754952Ab3EUQmW (ORCPT ); Tue, 21 May 2013 12:42:22 -0400 Received: by mail-ee0-f49.google.com with SMTP id d17so541674eek.8 for ; Tue, 21 May 2013 09:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=F4yebcdEbZNz4CnLbnEk82wbvXWKqwLhV8CTLnV69Hs=; b=EWyKNWUxL9v4h2orUnALKkfaUabD9N9giecnSRZOdbRRh20M+Mqcqy6wRyq7zeim00 +anJXaSHqVDFM6XYvPaAgeDpBlaD6nBLg9cpiRl+MmQOx5VtQ7ALVS1Q8477sXYi4DoA dSCePdBf0TVZNLLyLCobJ8+7X84RHEoxPn0JEFCfPtvpIl10bHBDn15XwQZGYD/rvWXG 4PHLrSudlHOaCbpn5Z5dhy9/HOtK3RUXORrPYCQmG/gPTk0Kn0jKYSw/eGpxFH2zqVyF Fix+T7FvV3wAI+aTgW+We3vieL0IVuOFosZxenyV1V+r0X+jjZ0FOcusAhpglJu/wHV4 GfXg== X-Received: by 10.14.7.198 with SMTP id 46mr8492290eep.17.1369154541106; Tue, 21 May 2013 09:42:21 -0700 (PDT) Received: from topkick.lan (dslc-082-083-251-181.pools.arcor-ip.net. [82.83.251.181]) by mx.google.com with ESMTPSA id x41sm4635674eey.17.2013.05.21.09.42.19 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 May 2013 09:42:20 -0700 (PDT) Received: from edge.wm.mst.uni-hannover.de (firewall.mst.uni-hannover.de [130.75.30.51]) by topkick.lan (Postfix) with ESMTPSA id 2B3A4605ED; Tue, 21 May 2013 18:41:32 +0200 (CEST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Cc: David Miller , Lennert Buytenhek , Jason Cooper , Andrew Lunn , Benjamin Herrenschmidt , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 12/12] ARM: orion5x: remove legacy mv643xx_eth board setup Date: Tue, 21 May 2013 18:41:50 +0200 Message-Id: <1369154510-4927-13-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1369154510-4927-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1367854420-8006-1-git-send-email-sebastian.hesselbarth@gmail.com> <1369154510-4927-1-git-send-email-sebastian.hesselbarth@gmail.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org With DT support for mv643xx_eth we do not need legacy platform_data based setup for DT enabled boards. This patch removes eth setup for all orion5x DT board files. Signed-off-by: Sebastian Hesselbarth --- Cc: David Miller Cc: Lennert Buytenhek Cc: Jason Cooper Cc: Andrew Lunn Cc: Benjamin Herrenschmidt Cc: netdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-orion5x/edmini_v2-setup.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm/mach-orion5x/edmini_v2-setup.c b/arch/arm/mach-orion5x/edmini_v2-setup.c index 1476155..d9de926 100644 --- a/arch/arm/mach-orion5x/edmini_v2-setup.c +++ b/arch/arm/mach-orion5x/edmini_v2-setup.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -96,14 +95,6 @@ static struct platform_device edmini_v2_nor_flash = { }; /***************************************************************************** - * Ethernet - ****************************************************************************/ - -static struct mv643xx_eth_platform_data edmini_v2_eth_data = { - .phy_addr = 8, -}; - -/***************************************************************************** * RTC 5C372a on I2C bus ****************************************************************************/ @@ -152,7 +143,6 @@ void __init edmini_v2_init(void) * Configure peripherals. */ orion5x_ehci0_init(); - orion5x_eth_init(&edmini_v2_eth_data); mvebu_mbus_add_window("devbus-boot", EDMINI_V2_NOR_BOOT_BASE, EDMINI_V2_NOR_BOOT_SIZE);