summaryrefslogtreecommitdiff
path: root/board/freescale/mx6qarm2
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx6qarm2')
-rw-r--r--board/freescale/mx6qarm2/mx6qarm2.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mx6qarm2/mx6qarm2.c b/board/freescale/mx6qarm2/mx6qarm2.c
index 618501a..fe5afae 100644
--- a/board/freescale/mx6qarm2/mx6qarm2.c
+++ b/board/freescale/mx6qarm2/mx6qarm2.c
@@ -239,6 +239,7 @@ int board_eth_init(bd_t *bis)
}
#ifdef CONFIG_USB_EHCI_MX6
+#ifndef CONFIG_DM_USB
#define USB_OTHERREGS_OFFSET 0x800
#define UCTRL_PWR_POL (1 << 9)
@@ -274,6 +275,7 @@ int board_ehci_hcd_init(int port)
return 0;
}
#endif
+#endif
int board_early_init_f(void)
{
@@ -288,7 +290,15 @@ int board_init(void)
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
#ifdef CONFIG_USB_EHCI_MX6
+#ifndef CONFIG_DM_USB
setup_usb();
+#else
+ /*
+ * set daisy chain for otg_pin_id on 6q.
+ * for 6dl, this bit is reserved
+ */
+ imx_iomux_set_gpr_register(1, 13, 1, 1);
+#endif
#endif
return 0;