summaryrefslogtreecommitdiff
path: root/include/configs/k2hk_evm.h
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>2014-09-29 22:17:21 +0300
committerTom Rini <trini@ti.com>2014-10-23 11:27:05 -0400
commite3114c9a06e4c4a1fd93967288e28f6f0d61f49d (patch)
treeb5817680960a101a4ca941b76bf82203f3291ed5 /include/configs/k2hk_evm.h
parentb2cfe32278478dbf4b08a06f8d48436fc3d4ae7e (diff)
downloadu-boot-imx-e3114c9a06e4c4a1fd93967288e28f6f0d61f49d.zip
u-boot-imx-e3114c9a06e4c4a1fd93967288e28f6f0d61f49d.tar.gz
u-boot-imx-e3114c9a06e4c4a1fd93967288e28f6f0d61f49d.tar.bz2
net: keystone_net: add support for NETCP v1.5
Currently the network driver is used only by k2hk evm board. The k2hk SoC contains NETCP v1.0, but Keystone2 SoCs, like k2e contain NETCP v1.5. So driver should be able to work with such kind of NETCP. This commit adds this opportunity. The main difference in masks and some registers, the logic is the same, so only definitions should be changed. To differentiate between versions add KS2_NETCP_V1_0 and KS2_NETCP_V1_5. Also remove unused and no more needed defines. The port number is specific for each board so move this parameter to configuration. Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'include/configs/k2hk_evm.h')
-rw-r--r--include/configs/k2hk_evm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h
index d0c5ff1..15cebb9 100644
--- a/include/configs/k2hk_evm.h
+++ b/include/configs/k2hk_evm.h
@@ -38,5 +38,6 @@
#define CONFIG_DRIVER_TI_KEYSTONE_NET
#define CONFIG_TI_KSNAV
#define CONFIG_KSNAV_PKTDMA_NETCP
+#define CONFIG_KSNET_CPSW_NUM_PORTS 5
#endif /* __CONFIG_K2HK_EVM_H */