From: Baruch Siach Date: Mon, 17 Mar 2014 14:14:54 +0000 (+0200) Subject: board: ecovec: fix USB0 clock enable X-Git-Tag: v2014.04-rc3~3^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82778e92c2816036ed79cdfb47e6eb6f6487a3f9;p=u-boot board: ecovec: fix USB0 clock enable Enable USB0 clock by resetting bit 20 of MSTPCR2. Leave other bits unchanged. Signed-off-by: Baruch Siach Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/board/renesas/ecovec/ecovec.c b/board/renesas/ecovec/ecovec.c index 450e387830..2804d9133d 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);