projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee97a99
)
arm64: zynqmp: Start usb ethernet gadget automatically
author
Michal Simek
<michal.simek@xilinx.com>
Fri, 5 Oct 2018 06:55:16 +0000
(08:55 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Fri, 30 Nov 2018 09:45:26 +0000
(10:45 +0100)
If only usb ethernet gadget is enabled it can start automatically.
If more gagdets are enabled usb ethernet gadget can be bind by
"bind /amba/usb1@
ff9e0000
/dwc3@
fe300000
usb_ether" (on zcu100)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c
patch
|
blob
|
history
diff --git
a/board/xilinx/zynqmp/zynqmp.c
b/board/xilinx/zynqmp/zynqmp.c
index 168cf5c14b4565d068803e668f92bb74e6ce86dd..13c404b6ef0882fea2a78b15fcc819b5920e1d0f 100644
(file)
--- a/
board/xilinx/zynqmp/zynqmp.c
+++ b/
board/xilinx/zynqmp/zynqmp.c
@@
-543,6
+543,10
@@
int board_late_init(void)
char *env_targets;
int ret;
+#if defined(CONFIG_USB_ETHER) && !defined(CONFIG_USB_GADGET_DOWNLOAD)
+ usb_ether_init();
+#endif
+
if (!(gd->flags & GD_FLG_ENV_DEFAULT)) {
debug("Saved variables - Skipping\n");
return 0;