aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorHao Zhang2014-10-22 17:18:23 +0300
committerTom Rini2014-10-23 11:27:28 -0400
commit92a16c81f5c5b43779520dbc7278f3d7cfb24684 (patch)
treec239dc17624ebf8a26c5a51c4cebb22774ed3d3b /include/configs
parent95f74dad912563181e4701dc4bc163c49c2bd3b3 (diff)
soc: keystone_serdes: generalize to be used by other sub systems
SerDes driver is used by other sub systems like PCI, sRIO etc. So modify it to be more general. The SerDes driver provides common API's that can also be extended for other peripherals SerDes configurations. Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ks2_evm.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h
index 8037c3e6e29..5ba975c60c2 100644
--- a/include/configs/ks2_evm.h
+++ b/include/configs/ks2_evm.h
@@ -134,8 +134,10 @@
#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
+#define CONFIG_KSNET_MAC_ID_BASE KS2_MAC_ID_BASE_ADDR
+#define CONFIG_KSNET_NETCP_BASE KS2_NETCP_BASE
+#define CONFIG_KSNET_SERDES_SGMII_BASE KS2_SGMII_SERDES_BASE
+#define CONFIG_KSNET_SERDES_LANES_PER_SGMII KS2_LANES_PER_SGMII_SERDES
/* AEMIF */
#define CONFIG_TI_AEMIF
@@ -319,8 +321,4 @@
which is NOT applicable for DDR ECC test */
#define CONFIG_MAX_UBOOT_MEM_SIZE (4 << 20) /* 4 MiB */
-/* SGMII SerDes */
-#define CONFIG_KS2_SERDES_SGMII_BASE KS2_SGMII_SERDES_BASE
-#define CONFIG_KS2_SERDES_LANES_PER_SGMII KS2_LANES_PER_SGMII_SERDES
-
#endif /* __CONFIG_KS2_EVM_H */