diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2015-09-19 16:26:52 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-22 14:22:24 -0400 |
commit | 91266ccbb2aaef87f6ff10292470abd65fa9c3ad (patch) | |
tree | ac207b85a28603cc4529a285cad20a8013be1b8f /board/ti/ks2_evm/board.c | |
parent | 997a318b3054820bdf4840b9bef465f3c32507dd (diff) | |
download | u-boot-91266ccbb2aaef87f6ff10292470abd65fa9c3ad.tar.gz u-boot-91266ccbb2aaef87f6ff10292470abd65fa9c3ad.tar.xz u-boot-91266ccbb2aaef87f6ff10292470abd65fa9c3ad.zip |
ARM: k2g: Add Ethernet Support
Add Ethernet support for tftp support
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board/ti/ks2_evm/board.c')
-rw-r--r-- | board/ti/ks2_evm/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index 7a5509ad09..73d94a6729 100644 --- a/board/ti/ks2_evm/board.c +++ b/board/ti/ks2_evm/board.c @@ -75,9 +75,14 @@ int board_eth_init(bd_t *bis) int port_num; char link_type_name[32]; + if (cpu_is_k2g()) + writel(KS2_ETHERNET_RGMII, KS2_ETHERNET_CFG); + /* By default, select PA PLL clock as PA clock source */ +#ifndef CONFIG_SOC_K2G if (psc_enable_module(KS2_LPSC_PA)) return -1; +#endif if (psc_enable_module(KS2_LPSC_CPGMAC)) return -1; if (psc_enable_module(KS2_LPSC_CRYPTO)) |