summaryrefslogtreecommitdiff
path: root/board/h2200
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-12-21 16:19:29 -0700
committerTom Rini <trini@ti.com>2012-12-21 16:19:29 -0700
commitba6d4b64b33146740a15b3dd5a5f511a2bc8d6f6 (patch)
treec57eeb10d2b625a1052cb523e6dd53d067b1bb65 /board/h2200
parentba427678a419a59c091e1c816c13852fa05b24bf (diff)
parent41984e71231c7af4a5617f4f94f372714c64d987 (diff)
downloadu-boot-imx-ba6d4b64b33146740a15b3dd5a5f511a2bc8d6f6.zip
u-boot-imx-ba6d4b64b33146740a15b3dd5a5f511a2bc8d6f6.tar.gz
u-boot-imx-ba6d4b64b33146740a15b3dd5a5f511a2bc8d6f6.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'board/h2200')
-rw-r--r--board/h2200/h2200.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/h2200/h2200.c b/board/h2200/h2200.c
index 3076306..720b06e 100644
--- a/board/h2200/h2200.c
+++ b/board/h2200/h2200.c
@@ -22,9 +22,16 @@
#include <asm/arch/pxa.h>
#include <asm/arch/pxa-regs.h>
#include <asm/io.h>
+#include <usb.h>
DECLARE_GLOBAL_DATA_PTR;
+int board_eth_init(bd_t *bis)
+{
+ usb_eth_initialize(bis);
+ return 0;
+}
+
int board_init(void)
{
/* We have RAM, disable cache */
@@ -36,6 +43,10 @@ int board_init(void)
/* adress of boot parameters */
gd->bd->bi_boot_params = 0xa0000100;
+ /* Let host see that device is disconnected */
+ udc_disconnect();
+ mdelay(500);
+
return 0;
}