summaryrefslogtreecommitdiff
path: root/board/samsung/smdk4212/smdk4212.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/smdk4212/smdk4212.c')
-rw-r--r--board/samsung/smdk4212/smdk4212.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/samsung/smdk4212/smdk4212.c b/board/samsung/smdk4212/smdk4212.c
index 0c6de49c05..990fb56053 100644
--- a/board/samsung/smdk4212/smdk4212.c
+++ b/board/samsung/smdk4212/smdk4212.c
@@ -267,6 +267,13 @@ int board_eth_init(bd_t *bis)
#ifdef CONFIG_SMC911X
rc = smc911x_initialize(0, CONFIG_SMC911X_BASE);
#endif
+
+#ifdef CONFIG_USB_ETHER
+ setenv("stdin", "serial");
+ setenv("stdout", "serial");
+ setenv("stderr", "serial");
+ rc = usb_eth_initialize(bis);
+#endif
return rc;
}