[PoC 145/241] global: Migrate CONFIG_PHY_ET1011C_TX_CLK_FIX to CFG

Tom Rini
2022-11-20T14:16:43Z

drivers/net/phy/et1011c.c | 2 +-
include/configs/ti814x_evm.h | 2 +-
scripts/config_whitelist.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/phy/et1011c.c b/drivers/net/phy/et1011c.c
index c243c5b72f81..7eff5ec7cacb 100644
--- a/drivers/net/phy/et1011c.c
+++ b/drivers/net/phy/et1011c.c
@@ -60,7 +60,7 @@ static int et1011c_parse_status(struct phy_device *phydev)
mii_reg |
ET1011C_GMII_INTERFACE |
ET1011C_SYS_CLK_EN |
-#ifdef CONFIG_PHY_ET1011C_TX_CLK_FIX
+#ifdef CFG_PHY_ET1011C_TX_CLK_FIX
ET1011C_TX_CLK_EN |
#endif
ET1011C_TX_FIFO_DEPTH_16);
diff --git a/include/configs/ti814x_evm.h b/include/configs/ti814x_evm.h
index 11e1936c2562..e67f2a2287de 100644
--- a/include/configs/ti814x_evm.h
+++ b/include/configs/ti814x_evm.h
@@ -97,6 +97,6 @@
*/

/* Ethernet */
-#define CONFIG_PHY_ET1011C_TX_CLK_FIX
+#define CFG_PHY_ET1011C_TX_CLK_FIX

#endif /* ! __CONFIG_TI814X_EVM_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 5788c297fc21..ebbc0b068611 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -154,7 +154,7 @@ CFG_PCIE_IMX_PERST_GPIO
CFG_PCIE_IMX_POWER_GPIO
CFG_PEN_ADDR_BIG_ENDIAN
CFG_PHY_BASE_ADR
-CONFIG_PHY_ET1011C_TX_CLK_FIX
+CFG_PHY_ET1011C_TX_CLK_FIX
CONFIG_PHY_ID
CONFIG_PHY_INTERFACE_MODE
CONFIG_PHY_IRAM_BASE
--
2.25.1