blob: 85b2c4df564dad0f5c2828077950e8e670632d1a [file] [log] [blame]
// 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;
}