aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:04:29 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:14:50 -0500
commit81d239aede3ccab6ccdac70478d99d064baabdb0 (patch)
treedfa9ace140cb1d1a0ef1e5dd4d1cdb16e42a4ccf
parentd036606142a0164646ace465a20ba5e632de887e (diff)
downloadu-boot-81d239aede3ccab6ccdac70478d99d064baabdb0.zip
u-boot-81d239aede3ccab6ccdac70478d99d064baabdb0.tar.gz
u-boot-81d239aede3ccab6ccdac70478d99d064baabdb0.tar.bz2
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>
-rw-r--r--drivers/net/ti/keystone_net.c2
-rw-r--r--include/configs/ti_armv7_keystone2.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c
index 114eb85..90b8821 100644
--- a/drivers/net/ti/keystone_net.c
+++ b/drivers/net/ti/keystone_net.c
@@ -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
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index cb4ea39..1429faa 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -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 */