summaryrefslogtreecommitdiff
path: root/board/freescale/mx35_3stack
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx35_3stack')
-rw-r--r--board/freescale/mx35_3stack/mx35_3stack.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/mx35_3stack/mx35_3stack.c b/board/freescale/mx35_3stack/mx35_3stack.c
index 4da8f25..c3c9683 100644
--- a/board/freescale/mx35_3stack/mx35_3stack.c
+++ b/board/freescale/mx35_3stack/mx35_3stack.c
@@ -149,6 +149,14 @@ int board_init(void)
{
int pad;
+#ifdef CONFIG_MFG
+/* MFG firmware need reset usb to avoid host crash firstly */
+#define USBCMD 0x53FF4140
+ int val = readl(USBCMD);
+ val &= ~0x1; /*RS bit*/
+ writel(val, USBCMD);
+#endif
+
setup_soc_rev();
/* enable clocks */