diff options
author | Lily Zhang <r58066@freescale.com> | 2010-06-24 16:59:06 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2010-06-28 13:58:25 +0800 |
commit | f35e72585460bc68abac44e2fd820e361f3a7b8c (patch) | |
tree | c2a454fe0fab82ea3a6f84af16e5eb79c0ba93c7 /board/freescale/mx53_evk | |
parent | 429e9bb343c2c76dcf4aeaa3f4533f1dde09fb3a (diff) | |
download | u-boot-imx-f35e72585460bc68abac44e2fd820e361f3a7b8c.zip u-boot-imx-f35e72585460bc68abac44e2fd820e361f3a7b8c.tar.gz u-boot-imx-f35e72585460bc68abac44e2fd820e361f3a7b8c.tar.bz2 |
ENGR00124710 MX53 Uboot: Add MFG tool support
Add MFG tool support for MX53 EVK
Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'board/freescale/mx53_evk')
-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) |