diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-07-24 11:12:07 +0300 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-07-25 21:36:13 +0300 |
commit | e809285d4942cbd6c3efb381bd48dcf8294639a7 (patch) | |
tree | 52f0e6d0964367abf1fa7732faa2013966a7e86a /board/davinci/da8xxevm/omapl138_lcdk.c | |
parent | 53fd12cfe17d0b6df2cd924fe943cc8f8bee03b9 (diff) | |
download | u-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/davinci/da8xxevm/omapl138_lcdk.c')
-rw-r--r-- | board/davinci/da8xxevm/omapl138_lcdk.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c index fe1bf44101..dd11551428 100644 --- a/board/davinci/da8xxevm/omapl138_lcdk.c +++ b/board/davinci/da8xxevm/omapl138_lcdk.c @@ -11,7 +11,6 @@ #include <common.h> #include <i2c.h> #include <net.h> -#include <netdev.h> #include <spi.h> #include <spi_flash.h> #include <asm/arch/hardware.h> @@ -229,19 +228,6 @@ int board_init(void) #ifdef CONFIG_DRIVER_TI_EMAC -/* - * Initializes on-board ethernet controllers. - */ -int board_eth_init(bd_t *bis) -{ - if (!davinci_emac_initialize()) { - printf("Error: Ethernet init failed!\n"); - return -1; - } - - return 0; -} - #endif /* CONFIG_DRIVER_TI_EMAC */ #define CFG_MAC_ADDR_SPI_BUS 0 |