mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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:
parent
9e0bcf8043
commit
e524f3a449
8 changed files with 7 additions and 523 deletions
10
cmd/usb.c
10
cmd/usb.c
|
@ -591,16 +591,6 @@ static void do_usb_start(void)
|
|||
drv_usb_kbd_init();
|
||||
# endif
|
||||
#endif /* !CONFIG_DM_USB */
|
||||
#ifdef CONFIG_USB_HOST_ETHER
|
||||
# ifdef CONFIG_DM_ETH
|
||||
# ifndef CONFIG_DM_USB
|
||||
# error "You must use CONFIG_DM_USB if you want to use CONFIG_USB_HOST_ETHER with CONFIG_DM_ETH"
|
||||
# endif
|
||||
# else
|
||||
/* try to recognize ethernet devices immediately */
|
||||
usb_ether_curr_dev = usb_host_eth_scan(1);
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DM_USB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue