aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRadu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>2023-12-13 18:14:20 +0200
committerPeng Fan <peng.fan@nxp.com>2024-02-08 10:41:23 +0800
commit6c43208a6de13a3b622c7f8ac491f66edc1126f0 (patch)
tree83d948c4ef9306839b955948d8b9c208eac9b115 /drivers
parent0101a2ffe125911ebf89172b495f5ff14f2fd058 (diff)
downloadu-boot-6c43208a6de13a3b622c7f8ac491f66edc1126f0.zip
u-boot-6c43208a6de13a3b622c7f8ac491f66edc1126f0.tar.gz
u-boot-6c43208a6de13a3b622c7f8ac491f66edc1126f0.tar.bz2
net: phy: nxp-c45-tja11xx: use local definion of features
Use a local definition for the PHY features. PHY_100BT1_FEATURES are not defined using the 100BaseT1 bit, so keep this workaround in the driver. Signed-off-by: "Radu Pirea (NXP OSS)" <radu-nicolae.pirea@oss.nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/nxp-c45-tja11xx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/phy/nxp-c45-tja11xx.c b/drivers/net/phy/nxp-c45-tja11xx.c
index f701790..38fb38b 100644
--- a/drivers/net/phy/nxp-c45-tja11xx.c
+++ b/drivers/net/phy/nxp-c45-tja11xx.c
@@ -330,11 +330,14 @@ static int nxp_c45_probe(struct phy_device *phydev)
return 0;
}
+#define NXP_C45_COMMON_FEATURES (SUPPORTED_TP | \
+ SUPPORTED_MII)
+
U_BOOT_PHY_DRIVER(nxp_c45_tja11xx) = {
.name = "NXP C45 TJA1103",
.uid = PHY_ID_TJA_1103,
.mask = 0xfffff0,
- .features = PHY_100BT1_FEATURES,
+ .features = NXP_C45_COMMON_FEATURES | SUPPORTED_100baseT_Full,
.probe = &nxp_c45_probe,
.config = &nxp_c45_config,
.startup = &nxp_c45_startup,