]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: ks2_evm: remove board_eth_init when CONFIG_DM_ETH is defined
authorMugunthan V N <mugunthanvnm@ti.com>
Tue, 2 Feb 2016 10:21:31 +0000 (15:51 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:10:45 +0000 (10:10 -0500)
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>
board/ti/ks2_evm/board.c

index 73d94a6729d460f4355c15a386c7eb93bb0c845c..7d1709c880afdc799e7c09f8ef3100c247e4ef33 100644 (file)
@@ -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)