Message ID | 20210215180746.2382067-2-fparent@baylibre.com |
---|---|
State | Accepted |
Commit | 4e828d9c75f1770223f23a5f660da6f7317c4c25 |
Delegated to: | Tom Rini |
Headers | show |
Series | [1/3] board: mediatek: rename pumpkin board into mt8516 | expand |
On Mon, Feb 15, 2021 at 07:07:45PM +0100, Fabien Parent wrote: > Init USB Ether if CONFIG_USB_ETHER is enabled. > > Signed-off-by: Fabien Parent <fparent@baylibre.com> Applied to u-boot/next, thanks!
diff --git a/board/mediatek/mt8516/mt8516_pumpkin.c b/board/mediatek/mt8516/mt8516_pumpkin.c index 37daf1c51b92..42f3863b92c3 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; }
Init USB Ether if CONFIG_USB_ETHER is enabled. Signed-off-by: Fabien Parent <fparent@baylibre.com> --- board/mediatek/mt8516/mt8516_pumpkin.c | 4 ++++ 1 file changed, 4 insertions(+)