summaryrefslogtreecommitdiff
path: root/board/ti/ti816x
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-07-24 11:12:07 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-07-25 21:36:13 +0300
commite809285d4942cbd6c3efb381bd48dcf8294639a7 (patch)
tree52f0e6d0964367abf1fa7732faa2013966a7e86a /board/ti/ti816x
parent53fd12cfe17d0b6df2cd924fe943cc8f8bee03b9 (diff)
downloadu-boot-e809285d4942cbd6c3efb381bd48dcf8294639a7.tar.xz
net: davinci_emac: convert to using the driver model
Now that we removed all legacy boards selecting TI_EMAC we can completely convert the driver code to using the driver model. This patch also updates all remaining users of davinci_emac. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Tested-by: Adam Ford <aford173@gmail.com> #am3517-evm & da850-evm Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'board/ti/ti816x')
-rw-r--r--board/ti/ti816x/evm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/ti/ti816x/evm.c b/board/ti/ti816x/evm.c
index 07a084bab8..240df8cbe1 100644
--- a/board/ti/ti816x/evm.c
+++ b/board/ti/ti816x/evm.c
@@ -9,7 +9,6 @@
#include <common.h>
#include <environment.h>
#include <spl.h>
-#include <netdev.h>
#include <asm/cache.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
@@ -56,7 +55,7 @@ int board_eth_init(bd_t *bis)
printf("Unable to read MAC address. Set <ethaddr>\n");
}
- return davinci_emac_initialize();
+ return 0;
}
#ifdef CONFIG_SPL_BUILD