diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-04 10:04:30 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-23 10:14:50 -0500 |
commit | e9f508cf019ae3056747ee2560b66267de6a6bea (patch) | |
tree | 0e93e2d82e257953a20e69cab8dd1ce3b88e9364 | |
parent | 81d239aede3ccab6ccdac70478d99d064baabdb0 (diff) | |
download | u-boot-e9f508cf019ae3056747ee2560b66267de6a6bea.tar.gz u-boot-e9f508cf019ae3056747ee2560b66267de6a6bea.tar.bz2 u-boot-e9f508cf019ae3056747ee2560b66267de6a6bea.zip |
global: Migrate CONFIG_KSNET_SERDES_SGMII_BASE to CFG
Perform a simple rename of CONFIG_KSNET_SERDES_SGMII_BASE to CFG_KSNET_SERDES_SGMII_BASE
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/net/ti/keystone_net.c | 2 | ||||
-rw-r--r-- | include/configs/ti_armv7_keystone2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c index 90b8821a2c..89b04b6fbd 100644 --- a/drivers/net/ti/keystone_net.c +++ b/drivers/net/ti/keystone_net.c @@ -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); diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h index 1429faa534..7142d30a59 100644 --- a/include/configs/ti_armv7_keystone2.h +++ b/include/configs/ti_armv7_keystone2.h @@ -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 |