From patchwork Tue Jul 2 11:00:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 256328 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 6BB212C00A9 for ; Tue, 2 Jul 2013 21:01:51 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754056Ab3GBLAy (ORCPT ); Tue, 2 Jul 2013 07:00:54 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:61551 "EHLO mail-bk0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753968Ab3GBLAl (ORCPT ); Tue, 2 Jul 2013 07:00:41 -0400 Received: by mail-bk0-f41.google.com with SMTP id jc3so2263523bkc.28 for ; Tue, 02 Jul 2013 04:00:40 -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=5ecgL5vHW/fivaruUnaOg0BLhWjpwfVD4oApWHFbOB0=; b=OlytYDhBjqiBNd04YCpuwjL3iuMLRX1NGM3TRKUYOk66Gfpio9yT7maucRduIjJ/6x CympNQOcp1fl1+8nCYRf/FhWV2y9Ese1nE1EV9tV7TLql7OZUErrBylqqKmudCbMb4DZ RKRUpwIGM2nNFy4fdfincN7bxlC941Zjvh4kE7it7kMyibRKq2Ct0JHfOrppp0OfNG3l l+XcVP670BT9xTCAfNNy3TOIWefPYM/URzy76bPGHGJ+g0zP39v4JItdu6pI9DQo0mYl opH6xUrCJCHrxC468Z1awekhAFl7RnCCnU6nlVuaTCYWGvJk8DPFxPVuYRzK68vqyxBl TnOw== X-Received: by 10.204.69.12 with SMTP id x12mr3852980bki.14.1372762840178; Tue, 02 Jul 2013 04:00:40 -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 l11sm10667935bkk.13.2013.07.02.04.00.37 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jul 2013 04:00:39 -0700 (PDT) Received: from picnic.unix.mst.uni-hannover.de (firewall.mst.uni-hannover.de [130.75.30.51]) by topkick.lan (Postfix) with ESMTPSA id DE489605FB; Tue, 2 Jul 2013 12:59:00 +0200 (CEST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Cc: Sebastian Hesselbarth , Russell King , Jason Cooper , Andrew Lunn , Thomas Petazzoni , Gregory CLEMENT , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v6 7/7] ARM: orion5x: remove legacy mv643xx_eth board setup Date: Tue, 2 Jul 2013 13:00:24 +0200 Message-Id: <1372762824-12202-8-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1372762824-12202-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1372762824-12202-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 --- Changelog: v5->v6: - rebase for v3.11-rc1 Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: Thomas Petazzoni Cc: Gregory CLEMENT Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org --- arch/arm/mach-orion5x/edmini_v2-setup.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-orion5x/edmini_v2-setup.c b/arch/arm/mach-orion5x/edmini_v2-setup.c index 1cecedc..7d316ed 100644 --- a/arch/arm/mach-orion5x/edmini_v2-setup.c +++ b/arch/arm/mach-orion5x/edmini_v2-setup.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include @@ -97,14 +96,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 ****************************************************************************/ @@ -153,7 +144,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);