summaryrefslogtreecommitdiffstats
path: root/drivers/net/keystone_net.c
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>2014-10-29 13:09:32 +0200
committerTom Rini <trini@ti.com>2014-11-05 13:09:42 -0500
commit87ac27bd5b02262cdca7d4701aabdfb7d9a43507 (patch)
tree5226174fff0245f7073dbe3edfbef1579cc22c99 /drivers/net/keystone_net.c
parentf324f2c00b95be2f3570f39a0243f18d8a6ba5e2 (diff)
downloadblackbird-obmc-uboot-87ac27bd5b02262cdca7d4701aabdfb7d9a43507.tar.gz
blackbird-obmc-uboot-87ac27bd5b02262cdca7d4701aabdfb7d9a43507.zip
net: keystone_serdes: add keystone K2L SoC support
Keystone2 Lamar SoC uses the same keystone SerDes driver. All Keystone2 EVM boards currently use SerDes driver, so move CONFIG_TI_KEYSTONE_SERDES to common configuration file. Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'drivers/net/keystone_net.c')
-rw-r--r--drivers/net/keystone_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/keystone_net.c b/drivers/net/keystone_net.c
index c8681d0223..83eeedae17 100644
--- a/drivers/net/keystone_net.c
+++ b/drivers/net/keystone_net.c
@@ -582,7 +582,7 @@ static void keystone2_net_serdes_setup(void)
&ks2_serdes_sgmii_156p25mhz,
CONFIG_KSNET_SERDES_LANES_PER_SGMII);
-#ifdef CONFIG_SOC_K2E
+#if defined(CONFIG_SOC_K2E) || defined(CONFIG_SOC_K2L)
ks2_serdes_init(CONFIG_KSNET_SERDES_SGMII2_BASE,
&ks2_serdes_sgmii_156p25mhz,
CONFIG_KSNET_SERDES_LANES_PER_SGMII);
OpenPOWER on IntegriCloud