summaryrefslogtreecommitdiff
path: root/board/renesas/ecovec
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2014-03-17 16:14:54 +0200
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-03-31 10:48:02 +0900
commit82778e92c2816036ed79cdfb47e6eb6f6487a3f9 (patch)
tree8f9ef13a2daf28a9248aa17a8d2e6c7d80935dfd /board/renesas/ecovec
parentf09d04aec3c2eeb89bcc876ba82f8b2940150d87 (diff)
downloadu-boot-imx-82778e92c2816036ed79cdfb47e6eb6f6487a3f9.zip
u-boot-imx-82778e92c2816036ed79cdfb47e6eb6f6487a3f9.tar.gz
u-boot-imx-82778e92c2816036ed79cdfb47e6eb6f6487a3f9.tar.bz2
board: ecovec: fix USB0 clock enable
Enable USB0 clock by resetting bit 20 of MSTPCR2. Leave other bits unchanged. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/renesas/ecovec')
-rw-r--r--board/renesas/ecovec/ecovec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/renesas/ecovec/ecovec.c b/board/renesas/ecovec/ecovec.c
index 450e387..2804d91 100644
--- a/board/renesas/ecovec/ecovec.c
+++ b/board/renesas/ecovec/ecovec.c
@@ -97,7 +97,7 @@ int board_init(void)
/* USB host */
outw((inw(PBCR) & ~0x300) | 0x100, PBCR);
outb((inb(PBDR) & ~0x10) | 0x10, PBDR);
- outl(inl(MSTPCR2) & 0x100000, MSTPCR2);
+ outl(inl(MSTPCR2) & ~0x100000, MSTPCR2);
outw(0x0600, UPONCR0);
debug_led(1 << 3);