global: Migrate CONFIG_KSNET_SERDES_SGMII2_BASE to CFG

Perform a simple rename of CONFIG_KSNET_SERDES_SGMII2_BASE to CFG_KSNET_SERDES_SGMII2_BASE

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-12-04 10:04:29 -05:00
parent d036606142
commit 81d239aede
2 changed files with 2 additions and 2 deletions

View 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

View 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 */