aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/phy/xilinx_phy.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-10-13 08:45:55 -0400
committerTom Rini <trini@konsulko.com>2023-10-13 08:45:55 -0400
commit6961ca0a46310da782668d8bfbf4f45b04758c55 (patch)
tree17434f00e66b9c7fa40fdfc41717c44ab816d067 /drivers/net/phy/xilinx_phy.c
parent5895d5c7ab9e501205fd4b9a2b4544680ae7e72a (diff)
parent7a82bfff5ea7089905dff14e65436d23c1e5adc4 (diff)
Merge tag 'xilinx-for-v2024.01-rc1-v3' of https://source.denx.de/u-boot/custodians/u-boot-microblaze
Xilinx changes for v2024.01-rc1 v3 clk: - remove additional compatible strings for Versal NET net: - zynq_gem: Fix clock calculation for MDC for higher frequencies pinctrl: - core: Extend pinmux status buffere size - zynqmp driver: Show also tristate configuration test: - add test case for pxe get Xilinx: - describe SelectMAP boot mode Zynq: - Fix nand description in DT ZynqMP: - DTS sync patches with kernel and also W=1 related fixes - Add support for KD240, zcu670, e-a2197 with x-prc cards, SC revB/C with i2c description for other SC based boards - k24 psu_init cleanup
Diffstat (limited to 'drivers/net/phy/xilinx_phy.c')
-rw-r--r--drivers/net/phy/xilinx_phy.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/phy/xilinx_phy.c b/drivers/net/phy/xilinx_phy.c
index 1df639d6f4..c07c780193 100644
--- a/drivers/net/phy/xilinx_phy.c
+++ b/drivers/net/phy/xilinx_phy.c
@@ -99,7 +99,6 @@ static int xilinxphy_startup(struct phy_device *phydev)
static int xilinxphy_of_init(struct phy_device *phydev)
{
- u32 phytype;
ofnode node;
debug("%s\n", __func__);
@@ -107,10 +106,6 @@ static int xilinxphy_of_init(struct phy_device *phydev)
if (!ofnode_valid(node))
return -EINVAL;
- phytype = ofnode_read_u32_default(node, "xlnx,phy-type", -1);
- if (phytype == XAE_PHY_TYPE_1000BASE_X)
- phydev->flags |= XAE_PHY_TYPE_1000BASE_X;
-
return 0;
}