else USB device doesn't work as the hardware fix is present on the
boards

Signed-off-by: Eric Bénard <[email protected]>
---
 arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c 
b/arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c
index 1e48650..75a99f7 100644
--- a/arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c
+++ b/arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c
@@ -255,6 +255,8 @@ static int eukrea_cpuimx25_devices_init(void)
        imx25_usb_init();
        add_generic_usb_ehci_device(-1, IMX_OTG_BASE + 0x400, NULL);
 #endif
+       /* Workaround ENGcm09152 */
+       writel(readl(IMX_OTG_BASE + 0x608) | (1 << 23), IMX_OTG_BASE + 0x608);
        add_generic_device("fsl-udc", -1, NULL, IMX_OTG_BASE, 0x200,
                           IORESOURCE_MEM, &usb_pdata);
 
-- 
1.7.7.6


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to