summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2012-05-18 09:41:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-05-18 11:21:53 +0200
commit9abd69fc66c5b6a20c93fe0025462568605f7f73 (patch)
treead8ad035c2399eaa36155e5bfde421232cd76ee0
parent831be2ecee569275b9e32711613ec6ef0567b566 (diff)
downloadbarebox-9abd69fc66c5b6a20c93fe0025462568605f7f73.tar.gz
barebox-9abd69fc66c5b6a20c93fe0025462568605f7f73.tar.xz
eukrea_cpuimx25: workaround ENGcm09152
else USB device doesn't work as the hardware fix is present on the boards Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c2
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 ff12d496f5..88e11c0c42 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(DEVICE_ID_DYNAMIC, 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", DEVICE_ID_DYNAMIC, NULL, IMX_OTG_BASE, 0x200,
IORESOURCE_MEM, &usb_pdata);