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:
Fabien Parent 2021-02-15 19:07:45 +01:00 committed by Tom Rini
parent 86e07d59ee
commit 4e828d9c75

View File

@ -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;
}