aboutsummaryrefslogtreecommitdiff
path: root/board/mediatek
diff options
context:
space:
mode:
authorFabien Parent2021-02-15 19:07:45 +0100
committerTom Rini2021-03-20 16:24:27 -0400
commit4e828d9c75f1770223f23a5f660da6f7317c4c25 (patch)
tree0d2464ad150863f913e71f8a323fba9ee9c8cd1b /board/mediatek
parent86e07d59ee53cdd209c114bdabef599d3b3d2036 (diff)
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>
Diffstat (limited to 'board/mediatek')
-rw-r--r--board/mediatek/mt8516/mt8516_pumpkin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/mediatek/mt8516/mt8516_pumpkin.c b/board/mediatek/mt8516/mt8516_pumpkin.c
index 37daf1c51b9..42f3863b92c 100644
--- a/board/mediatek/mt8516/mt8516_pumpkin.c
+++ b/board/mediatek/mt8516/mt8516_pumpkin.c
@@ -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;
}