diff options
author | Christian Hemp <c.hemp@phytec.de> | 2014-11-12 08:58:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-19 07:45:36 +0100 |
commit | 85460e26b24d15f39f280a3bf1ec9fb139dd6edf (patch) | |
tree | 895abb5c7fdcefc0e7a0debad46913a1e9a6e8f0 /arch/arm/boards/phytec-phyflex-am335x/board.c | |
parent | 16018ed7fece428c3c5f1a5bacb74c1863911289 (diff) | |
download | barebox-85460e26b24d15f39f280a3bf1ec9fb139dd6edf.tar.gz barebox-85460e26b24d15f39f280a3bf1ec9fb139dd6edf.tar.xz |
am335x:phyflex: Remove phy fixup from board file
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>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/phytec-phyflex-am335x/board.c')
-rw-r--r-- | arch/arm/boards/phytec-phyflex-am335x/board.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/boards/phytec-phyflex-am335x/board.c b/arch/arm/boards/phytec-phyflex-am335x/board.c index cf7dd2e936..f265e52f3a 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); |