diff mbox series

[PoC,087/241] global: Migrate CONFIG_KSNET_SERDES_SGMII_BASE to CFG

Message ID 20221120133352.3055600-88-trini@konsulko.com
State RFC
Delegated to: Tom Rini
Headers show
Series Finish migration to Kconfig or CFG namespace | expand

Commit Message

Tom Rini Nov. 20, 2022, 1:31 p.m. UTC
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 drivers/net/ti/keystone_net.c        | 2 +-
 include/configs/ti_armv7_keystone2.h | 2 +-
 scripts/config_whitelist.txt         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c
index 306b862e20ff..f85c057e1399 100644
--- a/drivers/net/ti/keystone_net.c
+++ b/drivers/net/ti/keystone_net.c
@@ -370,7 +370,7 @@  struct ks2_serdes ks2_serdes_sgmii_156p25mhz = {
 #ifndef CONFIG_SOC_K2G
 static void keystone2_net_serdes_setup(void)
 {
-	ks2_serdes_init(CONFIG_KSNET_SERDES_SGMII_BASE,
+	ks2_serdes_init(CFG_KSNET_SERDES_SGMII_BASE,
 			&ks2_serdes_sgmii_156p25mhz,
 			CFG_KSNET_SERDES_LANES_PER_SGMII);
 
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index 1429faa534e3..7142d30a5994 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -49,7 +49,7 @@ 
 /* Keystone net */
 #define CFG_KSNET_MAC_ID_BASE		KS2_MAC_ID_BASE_ADDR
 #define CFG_KSNET_NETCP_BASE			KS2_NETCP_BASE
-#define CONFIG_KSNET_SERDES_SGMII_BASE		KS2_SGMII_SERDES_BASE
+#define CFG_KSNET_SERDES_SGMII_BASE		KS2_SGMII_SERDES_BASE
 #define CFG_KSNET_SERDES_SGMII2_BASE		KS2_SGMII_SERDES2_BASE
 #define CFG_KSNET_SERDES_LANES_PER_SGMII	KS2_LANES_PER_SGMII_SERDES
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 7470e7e1d91f..bd22cbb231b8 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -95,7 +95,7 @@  CFG_KSNET_NETCP_V1_0
 CFG_KSNET_NETCP_V1_5
 CFG_KSNET_SERDES_LANES_PER_SGMII
 CFG_KSNET_SERDES_SGMII2_BASE
-CONFIG_KSNET_SERDES_SGMII_BASE
+CFG_KSNET_SERDES_SGMII_BASE
 CONFIG_L1_INIT_RAM
 CONFIG_L2_CACHE
 CONFIG_LEGACY_BOOTCMD_ENV