summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWallace Wang <r59996@freescale.com>2010-02-25 15:53:02 +0800
committerWallace Wang <r59996@freescale.com>2010-03-31 10:47:00 +0800
commitbb6b4618780f14a32b1d54cdb4893be9acf8e5f9 (patch)
treeaf0d680c01937932987e6fb1be41110c17d35465 /board
parent6dd2709514d0f5d151529681efa3430adf09a513 (diff)
downloadu-boot-imx-bb6b4618780f14a32b1d54cdb4893be9acf8e5f9.zip
u-boot-imx-bb6b4618780f14a32b1d54cdb4893be9acf8e5f9.tar.gz
u-boot-imx-bb6b4618780f14a32b1d54cdb4893be9acf8e5f9.tar.bz2
ENGR00122085 MX35 Add Uboot Firmware support
Build Mfg firmware for mx35 3stack Signed-off-by: Wallace Wang <r59996@freescale.com>
Diffstat (limited to 'board')
-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 */