mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
f09d04aec3
commit
82778e92c2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue