]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_KSNET_CPSW_NUM_PORTS to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:25 +0000 (10:04 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:14:49 +0000 (10:14 -0500)
Perform a simple rename of CONFIG_KSNET_CPSW_NUM_PORTS to CFG_KSNET_CPSW_NUM_PORTS

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/ti-common/keystone_net.h
include/configs/k2e_evm.h
include/configs/k2g_evm.h
include/configs/k2hk_evm.h
include/configs/k2l_evm.h

index 0852ce80a64198102de277fb23fb024af2f63627..21cac6ea312a23709f18c5f9e442ea6c8b711694 100644 (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
index 1283f450b32c80095413c3e2c81943120f6b0655..929c9a26de15821b21c1ef491ab05194ab986942 100644 (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 */
index fd3708ba81a771cb89d1a5d38cea3e1d5e63384c..d0634a99f4920a0964987ece980d0c1f8f34215e 100644 (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
index 36e3c59d1c5846b22c2c6994e7f7e68a69793d28..05b4a3c204d6479548fe2e61114bcb1306ff9c68 100644 (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 */
index cb7b0367810cd9067b18ac0fc7732a4ce8c1940f..b1b839b5043ce38e1bf168465082ae9d2fd7b8f1 100644 (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 */