projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86e07d5
)
board: mediatek: mt8516: init USB Ether for pumpkin board
author
Fabien Parent
<fparent@baylibre.com>
Mon, 15 Feb 2021 18:07:45 +0000
(19:07 +0100)
committer
Tom Rini
<trini@konsulko.com>
Sat, 20 Mar 2021 20:24:27 +0000
(16:24 -0400)
Init USB Ether if CONFIG_USB_ETHER is enabled.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
board/mediatek/mt8516/mt8516_pumpkin.c
patch
|
blob
|
history
diff --git
a/board/mediatek/mt8516/mt8516_pumpkin.c
b/board/mediatek/mt8516/mt8516_pumpkin.c
index
37daf1c
..
42f3863
100644
(file)
--- 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;
}