// SPDX-License-Identifier: GPL-2.0 | |
/* | |
* Copyright (C) 2019 BayLibre SAS | |
*/ | |
#include <common.h> | |
#include <dm.h> | |
int board_init(void) | |
{ | |
struct udevice *dev; | |
uclass_first_device_err(UCLASS_USB_GADGET_GENERIC, &dev); | |
#ifdef CONFIG_USB_ETHER | |
usb_ether_init(); | |
#endif | |
return 0; | |
} |