From 4e828d9c75f1770223f23a5f660da6f7317c4c25 Mon Sep 17 00:00:00 2001 From: Fabien Parent Date: Mon, 15 Feb 2021 19:07:45 +0100 Subject: board: mediatek: mt8516: init USB Ether for pumpkin board Init USB Ether if CONFIG_USB_ETHER is enabled. Signed-off-by: Fabien Parent --- board/mediatek/mt8516/mt8516_pumpkin.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/mediatek') 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 #include +#include int board_init(void) { @@ -24,5 +25,8 @@ int board_late_init(void) } } + if (CONFIG_IS_ENABLED(USB_ETHER)) + usb_ether_init(); + return 0; } -- cgit v1.2.3