bit25 is part of the PTS bits, so mask it out before rewriting it. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/usb/imx/chipidea-imx.c | 2 +- include/usb/chipidea-imx.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/imx/chipidea-imx.c b/drivers/usb/imx/chipidea-imx.c index 5b4c081..64bb866 100644 --- a/drivers/usb/imx/chipidea-imx.c +++ b/drivers/usb/imx/chipidea-imx.c @@ -20,7 +20,7 @@ #include <usb/chipidea-imx.h> #include <usb/ulpi.h> -#define MXC_EHCI_PORTSC_MASK (0xf << 28) +#define MXC_EHCI_PORTSC_MASK ((0xf << 28) | (1 << 25)) static int imx_chipidea_probe(struct device_d *dev) { diff --git a/include/usb/chipidea-imx.h b/include/usb/chipidea-imx.h index e98cc89..252d488 100644 --- a/include/usb/chipidea-imx.h +++ b/include/usb/chipidea-imx.h @@ -9,6 +9,7 @@ #define MXC_EHCI_MODE_UTMI_16_BIT ((0 << 30) | (1 << 28)) #define MXC_EHCI_MODE_PHILIPS (1 << 30) #define MXC_EHCI_MODE_ULPI (2 << 30) +#define MXC_EHCI_MODE_HSIC (1 << 25) #define MXC_EHCI_MODE_SERIAL (3 << 30) /* -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox