mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
board: mediatek: mt8516: init USB Ether for pumpkin board
Init USB Ether if CONFIG_USB_ETHER is enabled. Signed-off-by: Fabien Parent <fparent@baylibre.com>
This commit is contained in:
parent
86e07d59ee
commit
4e828d9c75
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <net.h>
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
|
@ -24,5 +25,8 @@ int board_late_init(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (CONFIG_IS_ENABLED(USB_ETHER))
|
||||
usb_ether_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue