summaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2016-02-02 15:51:31 +0530
committerTom Rini <trini@konsulko.com>2016-02-08 10:10:45 -0500
commit0369008c366cbc0288e353e7ceb8068a6ad0ac58 (patch)
tree50147db102889c84a97fe3e486d9b19cbe23dd8c /board/ti
parent362b96cb86dcdd4fc4d76a503a1c7f3d46706c9b (diff)
downloadu-boot-imx-0369008c366cbc0288e353e7ceb8068a6ad0ac58.zip
u-boot-imx-0369008c366cbc0288e353e7ceb8068a6ad0ac58.tar.gz
u-boot-imx-0369008c366cbc0288e353e7ceb8068a6ad0ac58.tar.bz2
board: ti: ks2_evm: remove board_eth_init when CONFIG_DM_ETH is defined
remove board_eth_init when CONFIG_DM_ETH is defined Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/ks2_evm/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
index 73d94a6..7d1709c 100644
--- a/board/ti/ks2_evm/board.c
+++ b/board/ti/ks2_evm/board.c
@@ -56,6 +56,7 @@ int board_init(void)
}
#ifdef CONFIG_DRIVER_TI_KEYSTONE_NET
+#ifndef CONFIG_DM_ETH
int get_eth_env_param(char *env_name)
{
char *env;
@@ -105,6 +106,7 @@ int board_eth_init(bd_t *bis)
return 0;
}
#endif
+#endif
#ifdef CONFIG_SPL_BUILD
void spl_board_init(void)