From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.visioncatalog.com ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XoSpM-0007Yb-LX for barebox@lists.infradead.org; Wed, 12 Nov 2014 07:58:57 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 7568BA00301 for ; Wed, 12 Nov 2014 08:58:47 +0100 (CET) From: Christian Hemp Date: Wed, 12 Nov 2014 08:58:05 +0100 Message-Id: <1415779086-44323-1-git-send-email-c.hemp@phytec.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/2] am335x:phyflex: Remove phy fixup from board file To: barebox@lists.infradead.org The ethernet timings are set by the devicetree. They are no longer required in the board file. Signed-off-by: Christian Hemp --- arch/arm/boards/phytec-phyflex-am335x/board.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm/boards/phytec-phyflex-am335x/board.c b/arch/arm/boards/phytec-phyflex-am335x/board.c index cf7dd2e..f265e52 100644 --- a/arch/arm/boards/phytec-phyflex-am335x/board.c +++ b/arch/arm/boards/phytec-phyflex-am335x/board.c @@ -32,21 +32,11 @@ #include #include -static int ksz9031rn_phy_fixup(struct phy_device *dev) -{ - phy_write_mmd_indirect(dev, 6, 2, 0); - phy_write_mmd_indirect(dev, 8, 2, 0x003ff); - - return 0; -} - static int pfla03_coredevice_init(void) { if (!of_machine_is_compatible("phytec,phyflex-am335x-som")) return 0; - phy_register_fixup_for_uid(PHY_ID_KSZ9031, MICREL_PHY_ID_MASK, - ksz9031rn_phy_fixup); am33xx_register_ethaddr(0, 0); am33xx_register_ethaddr(1, 1); -- 1.9.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox