diff options
author | Frank Li <frank.li@freescale.com> | 2010-02-10 14:55:57 +0800 |
---|---|---|
committer | Frank Li <frank.li@freescale.com> | 2010-02-22 17:57:47 +0800 |
commit | 871825c1148b233fb562c09204700b59fcd28b67 (patch) | |
tree | 69d9f1b0d5214ada65c57c796a29a2d8ef5bd3c3 /board/freescale/mx51_bbg | |
parent | 8bab684efeed6ae55e43df47298578c31b251af3 (diff) | |
download | u-boot-imx-871825c1148b233fb562c09204700b59fcd28b67.zip u-boot-imx-871825c1148b233fb562c09204700b59fcd28b67.tar.gz u-boot-imx-871825c1148b233fb562c09204700b59fcd28b67.tar.bz2 |
ENGR00121029 Add MX51-BBG Uboot Firmware support
Build Mfg firmware for mx51-bbg
Signed-off-by: Frank Li <frank.li@freescale.com>
Diffstat (limited to 'board/freescale/mx51_bbg')
-rw-r--r-- | board/freescale/mx51_bbg/mx51_bbg.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/freescale/mx51_bbg/mx51_bbg.c b/board/freescale/mx51_bbg/mx51_bbg.c index b9a4292..f4028dc 100644 --- a/board/freescale/mx51_bbg/mx51_bbg.c +++ b/board/freescale/mx51_bbg/mx51_bbg.c @@ -681,6 +681,13 @@ int setup_mxc_kpd(void) 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(); set_board_rev(); |