global: Migrate CONFIG_KSNET_CPSW_NUM_PORTS to CFG

Perform a simple rename of CONFIG_KSNET_CPSW_NUM_PORTS to CFG_KSNET_CPSW_NUM_PORTS

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-12-04 10:04:25 -05:00
parent 7201b76978
commit 21bd204239
5 changed files with 5 additions and 5 deletions

View file

@ -117,7 +117,7 @@ struct mac_sl_cfg {
#define CPSW_CTL_VLAN_AWARE BIT(1)
#define CPSW_CTL_FIFO_LOOPBACK BIT(0)
#define DEVICE_CPSW_NUM_PORTS CONFIG_KSNET_CPSW_NUM_PORTS
#define DEVICE_CPSW_NUM_PORTS CFG_KSNET_CPSW_NUM_PORTS
#define DEVICE_N_GMACSL_PORTS (DEVICE_CPSW_NUM_PORTS - 1)
#ifdef CONFIG_KSNET_NETCP_V1_0

View file

@ -37,6 +37,6 @@
#define SPI_MTD_PARTS KEYSTONE_SPI0_MTD_PARTS
/* Network */
#define CONFIG_KSNET_CPSW_NUM_PORTS 9
#define CFG_KSNET_CPSW_NUM_PORTS 9
#endif /* __CONFIG_K2E_EVM_H */

View file

@ -51,7 +51,7 @@
"name_fs=arago-base-tisdk-image-k2g-evm.cpio\0"
/* Network */
#define CONFIG_KSNET_CPSW_NUM_PORTS 2
#define CFG_KSNET_CPSW_NUM_PORTS 2
#define PHY_ANEG_TIMEOUT 10000 /* PHY needs longer aneg time */
#define SPI_MTD_PARTS KEYSTONE_SPI1_MTD_PARTS

View file

@ -37,6 +37,6 @@
#define SPI_MTD_PARTS KEYSTONE_SPI0_MTD_PARTS
/* Network */
#define CONFIG_KSNET_CPSW_NUM_PORTS 5
#define CFG_KSNET_CPSW_NUM_PORTS 5
#endif /* __CONFIG_K2HK_EVM_H */

View file

@ -37,6 +37,6 @@
#define SPI_MTD_PARTS KEYSTONE_SPI0_MTD_PARTS
/* Network */
#define CONFIG_KSNET_CPSW_NUM_PORTS 5
#define CFG_KSNET_CPSW_NUM_PORTS 5
#endif /* __CONFIG_K2L_EVM_H */