mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Christian Hemp <c.hemp@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/2] am335x:phyflex: Remove phy fixup from board file
Date: Wed, 12 Nov 2014 08:58:05 +0100	[thread overview]
Message-ID: <1415779086-44323-1-git-send-email-c.hemp@phytec.de> (raw)

The ethernet timings are set by the devicetree. They are no longer required in the
board file.

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
---
 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 <mach/am33xx-silicon.h>
 #include <mach/bbu.h>
 
-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

             reply	other threads:[~2014-11-12  7:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12  7:58 Christian Hemp [this message]
2014-11-12  7:58 ` [PATCH 2/2] ARM: defconfig: Enable Micrel PHY driver in am335x_defconfig Christian Hemp
2014-11-12  8:22 ` [PATCH 1/2] am335x:phyflex: Remove phy fixup from board file Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1415779086-44323-1-git-send-email-c.hemp@phytec.de \
    --to=c.hemp@phytec.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox