diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx53_evk/mx53_evk.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/freescale/mx53_evk/mx53_evk.c b/board/freescale/mx53_evk/mx53_evk.c index 8cfd2da..f8b553f 100644 --- a/board/freescale/mx53_evk/mx53_evk.c +++ b/board/freescale/mx53_evk/mx53_evk.c @@ -695,6 +695,13 @@ int board_mmc_init(bd_t *bis) int board_init(void) { +#ifdef CONFIG_MFG +/* MFG firmware need reset usb to avoid host crash firstly */ +#define USBCMD 0x140 + int val = readl(OTG_BASE_ADDR + USBCMD); + val &= ~0x1; /*RS bit*/ + writel(val, OTG_BASE_ADDR + USBCMD); +#endif setup_boot_device(); setup_soc_rev(); #if defined(CONFIG_MX53_ARM2) || defined(CONFIG_MX53_ARM2_DDR3) |