summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/include/asm/ti-common/keystone_net.h2
-rw-r--r--include/configs/k2e_evm.h2
-rw-r--r--include/configs/k2g_evm.h2
-rw-r--r--include/configs/k2hk_evm.h2
-rw-r--r--include/configs/k2l_evm.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/include/asm/ti-common/keystone_net.h b/arch/arm/include/asm/ti-common/keystone_net.h
index 0852ce80a64..21cac6ea312 100644
--- a/arch/arm/include/asm/ti-common/keystone_net.h
+++ b/arch/arm/include/asm/ti-common/keystone_net.h
@@ -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
diff --git a/include/configs/k2e_evm.h b/include/configs/k2e_evm.h
index 1283f450b32..929c9a26de1 100644
--- a/include/configs/k2e_evm.h
+++ b/include/configs/k2e_evm.h
@@ -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 */
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index fd3708ba81a..d0634a99f49 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -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
diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h
index 36e3c59d1c5..05b4a3c204d 100644
--- a/include/configs/k2hk_evm.h
+++ b/include/configs/k2hk_evm.h
@@ -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 */
diff --git a/include/configs/k2l_evm.h b/include/configs/k2l_evm.h
index cb7b0367810..b1b839b5043 100644
--- a/include/configs/k2l_evm.h
+++ b/include/configs/k2l_evm.h
@@ -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 */