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

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

index 114eb854d7227ea87a4e99df49daf94a68aef478..90b8821a2caf3e245c0cd1a493ce4edcca050902 100644 (file)
@@ -375,7 +375,7 @@ static void keystone2_net_serdes_setup(void)
                        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_init(CFG_KSNET_SERDES_SGMII2_BASE,
                        &ks2_serdes_sgmii_156p25mhz,
                        CFG_KSNET_SERDES_LANES_PER_SGMII);
 #endif
index cb4ea394eb8b19c35923046d76135fe5c393695c..1429faa534e3791c6b5a0195c4ffe36c5ef1fa0b 100644 (file)
@@ -50,7 +50,7 @@
 #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 CONFIG_KSNET_SERDES_SGMII2_BASE                KS2_SGMII_SERDES2_BASE
+#define CFG_KSNET_SERDES_SGMII2_BASE           KS2_SGMII_SERDES2_BASE
 #define CFG_KSNET_SERDES_LANES_PER_SGMII       KS2_LANES_PER_SGMII_SERDES
 
 /* EEPROM definitions */