From: Mugunthan V N Date: Tue, 2 Feb 2016 10:21:31 +0000 (+0530) Subject: board: ti: ks2_evm: remove board_eth_init when CONFIG_DM_ETH is defined X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=0369008c366cbc0288e353e7ceb8068a6ad0ac58;p=u-boot.git 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 Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index 73d94a6729..7d1709c880 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)