summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-10 08:19:33 -0500
committerTom Rini <trini@konsulko.com>2017-01-10 08:19:33 -0500
commit04770e6e917b0f766a9496e3f37bcdf2ebb1beb4 (patch)
treefeb9550344f45c1c344fdd3a067de0ba28403991 /arch
parent86f21c96f46736825d8a9269dfbe31ef7991a7e6 (diff)
parentf8f41ae668040d58271e03bc85b58e13becb14af (diff)
downloadu-boot-imx-04770e6e917b0f766a9496e3f37bcdf2ebb1beb4.zip
u-boot-imx-04770e6e917b0f766a9496e3f37bcdf2ebb1beb4.tar.gz
u-boot-imx-04770e6e917b0f766a9496e3f37bcdf2ebb1beb4.tar.bz2
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/am33xx/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/am33xx/board.c b/arch/arm/mach-omap2/am33xx/board.c
index 581c0ab..8a90b3b 100644
--- a/arch/arm/mach-omap2/am33xx/board.c
+++ b/arch/arm/mach-omap2/am33xx/board.c
@@ -204,6 +204,14 @@ int arch_misc_init(void)
ret = uclass_first_device(UCLASS_MISC, &dev);
if (ret || !dev)
return ret;
+
+#if defined(CONFIG_DM_ETH) && defined(CONFIG_USB_ETHER)
+ ret = usb_ether_init();
+ if (ret) {
+ error("USB ether init failed\n");
+ return ret;
+ }
+#endif
#endif
return 0;
}