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
@ -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 New Issue
Block a user