diff options
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx35_3stack/mx35_3stack.c | 8 |
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 */ |