net: Remove eth_legacy.c

As there are no more non-DM_ETH cases for networking, remove this legacy
file and update the Makefile to match current usage.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-11-27 10:25:36 -05:00
parent 9e0bcf8043
commit e524f3a449
8 changed files with 7 additions and 523 deletions

View file

@ -29,11 +29,7 @@ int eth_env_set_enetaddr_by_index(const char *base_name, int index,
int eth_mac_skip(int index);
void eth_current_changed(void);
#ifdef CONFIG_DM_ETH
void eth_set_dev(struct udevice *dev);
#else
void eth_set_dev(struct eth_device *dev);
#endif
void eth_set_current_to_next(void);
#endif