linux-mips
[Top] [All Lists]

Reset of USB

To: linux-mips@linux-mips.org
Subject: Reset of USB
From: ichinoh@mb.neweb.ne.jp
Date: Tue, 31 Aug 2004 23:49:31 +0900
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hello ,

I invoked the Linux kernel on ALCHEMY DBAU1100 by U-BOOT.

The processing which resets USB-OHCI of the head of a kernel is not completed. (refer to *)

Au1100 does not indicate "reset is completed."
Is this phenomenon experienced?

In addition,
this phenomenon is not encountered when starting a kernel by YAMON.


*:
arch/mips/au1000/common/setup.c

#ifdef CONFIG_USB_OHCI
        // enable host controller and wait for reset done
        au_writel(0x08, USB_HOST_CONFIG);
        udelay(1000);
        au_writel(0x0E, USB_HOST_CONFIG);
        udelay(1000);
        au_readl(USB_HOST_CONFIG); // throw away first read
        while (!(au_readl(USB_HOST_CONFIG) & 0x10))
                au_readl(USB_HOST_CONFIG);
#endif

Best regards,
Nyauyama


<Prev in Thread] Current Thread [Next in Thread>