]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_KSNET_SERDES_LANES_PER_SGMII to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:28 +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_LANES_PER_SGMII to CFG_KSNET_SERDES_LANES_PER_SGMII

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

index 679a0450f1d5ea25531430cb801a5b375ebfe98e..114eb854d7227ea87a4e99df49daf94a68aef478 100644 (file)
@@ -372,12 +372,12 @@ static void keystone2_net_serdes_setup(void)
 {
        ks2_serdes_init(CONFIG_KSNET_SERDES_SGMII_BASE,
                        &ks2_serdes_sgmii_156p25mhz,
-                       CONFIG_KSNET_SERDES_LANES_PER_SGMII);
+                       CFG_KSNET_SERDES_LANES_PER_SGMII);
 
 #if defined(CONFIG_SOC_K2E) || defined(CONFIG_SOC_K2L)
        ks2_serdes_init(CONFIG_KSNET_SERDES_SGMII2_BASE,
                        &ks2_serdes_sgmii_156p25mhz,
-                       CONFIG_KSNET_SERDES_LANES_PER_SGMII);
+                       CFG_KSNET_SERDES_LANES_PER_SGMII);
 #endif
 
        /* wait till setup */
index c21fabc36ed53c5816c6e8fe3c3a90e199c8aa5f..cb4ea394eb8b19c35923046d76135fe5c393695c 100644 (file)
@@ -51,7 +51,7 @@
 #define CFG_KSNET_NETCP_BASE                   KS2_NETCP_BASE
 #define CONFIG_KSNET_SERDES_SGMII_BASE         KS2_SGMII_SERDES_BASE
 #define CONFIG_KSNET_SERDES_SGMII2_BASE                KS2_SGMII_SERDES2_BASE
-#define CONFIG_KSNET_SERDES_LANES_PER_SGMII    KS2_LANES_PER_SGMII_SERDES
+#define CFG_KSNET_SERDES_LANES_PER_SGMII       KS2_LANES_PER_SGMII_SERDES
 
 /* EEPROM definitions */