summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>2014-09-29 22:17:22 +0300
committerTom Rini <trini@ti.com>2014-10-23 11:27:05 -0400
commit0935cac6855626f9de6af9583a30b6463e8bab95 (patch)
tree1dade35894311775f0d644fc3824bbfadc81a767 /include/configs
parente3114c9a06e4c4a1fd93967288e28f6f0d61f49d (diff)
downloadu-boot-imx-0935cac6855626f9de6af9583a30b6463e8bab95.zip
u-boot-imx-0935cac6855626f9de6af9583a30b6463e8bab95.tar.gz
u-boot-imx-0935cac6855626f9de6af9583a30b6463e8bab95.tar.bz2
net: keystone_net: move header file from arch to ti-common
The header file for the driver should be in correct place. So move it to "arch/arm/include/asm/ti-common/keystone_net.h" and correct driver's external dependencies. At the same time align and correct some definitions. Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/k2hk_evm.h1
-rw-r--r--include/configs/ks2_evm.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h
index 15cebb9..45bd72d 100644
--- a/include/configs/k2hk_evm.h
+++ b/include/configs/k2hk_evm.h
@@ -38,6 +38,7 @@
#define CONFIG_DRIVER_TI_KEYSTONE_NET
#define CONFIG_TI_KSNAV
#define CONFIG_KSNAV_PKTDMA_NETCP
+#define CONFIG_KSNET_NETCP_V1_0
#define CONFIG_KSNET_CPSW_NUM_PORTS 5
#endif /* __CONFIG_K2HK_EVM_H */
diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h
index 6e6755a..ec3f72e 100644
--- a/include/configs/ks2_evm.h
+++ b/include/configs/ks2_evm.h
@@ -133,6 +133,10 @@
#define CONFIG_KSNAV_NETCP_PDMA_RX_RCV_QUEUE KS2_NETCP_PDMA_RX_RCV_QUEUE
#define CONFIG_KSNAV_NETCP_PDMA_TX_SND_QUEUE KS2_NETCP_PDMA_TX_SND_QUEUE
+/* Keystone net */
+#define CONFIG_KSNET_MAC_ID_BASE KS2_MAC_ID_BASE_ADDR
+#define CONFIG_KSNET_NETCP_BASE KS2_NETCP_BASE
+
/* AEMIF */
#define CONFIG_TI_AEMIF
#define CONFIG_AEMIF_CNTRL_BASE KS2_AEMIF_CNTRL_BASE