]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_KSNET_SERDES_SGMII_BASE to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:30 +0000 (10:04 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:14:50 +0000 (10:14 -0500)
Perform a simple rename of CONFIG_KSNET_SERDES_SGMII_BASE to CFG_KSNET_SERDES_SGMII_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/net/ti/keystone_net.c
include/configs/ti_armv7_keystone2.h

index 90b8821a2caf3e245c0cd1a493ce4edcca050902..89b04b6fbdaee4ab6a18039c9152abe7bcffff7a 100644 (file)
@@ -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);
 
index 1429faa534e3791c6b5a0195c4ffe36c5ef1fa0b..7142d30a5994d4583f6f87e840812ff118aa1ef1 100644 (file)
@@ -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