Skip to content
Snippets Groups Projects
Commit 0369008c authored by Mugunthan V N's avatar Mugunthan V N Committed by Tom Rini
Browse files

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: default avatarMugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 362b96cb
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,7 @@ int board_init(void) ...@@ -56,6 +56,7 @@ int board_init(void)
} }
#ifdef CONFIG_DRIVER_TI_KEYSTONE_NET #ifdef CONFIG_DRIVER_TI_KEYSTONE_NET
#ifndef CONFIG_DM_ETH
int get_eth_env_param(char *env_name) int get_eth_env_param(char *env_name)
{ {
char *env; char *env;
...@@ -105,6 +106,7 @@ int board_eth_init(bd_t *bis) ...@@ -105,6 +106,7 @@ int board_eth_init(bd_t *bis)
return 0; return 0;
} }
#endif #endif
#endif
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
void spl_board_init(void) void spl_board_init(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment