> -Original Message-
> From: Andy Fleming [mailto:aflem...@gmail.com]
> Sent: Saturday, October 20, 2012 5:22 AM
> To: Marek Vasut
> Cc: Liu Shengzhou-B36685; u-boot@lists.denx.de; Stefan Roese
> Subject: Re: [U-Boot] [PATCH] powerpc/usb: fix bug of CPU hang when
>
> -Original Message-
> From: Anatolij Gustschin [mailto:ag...@denx.de]
> Sent: Saturday, October 20, 2012 4:14 AM
> To: Liu Shengzhou-B36685
> Cc: Marek Vasut; u-boot@lists.denx.de; Stefan Roese
> Subject: Re: [PATCH] powerpc/usb: fix bug of CPU hang when missing USB
> PHY clock
>
> you m
On Thu, Oct 18, 2012 at 4:04 AM, Marek Vasut wrote:
> Dear Liu Shengzhou-B36685,
>> > > >
>> > > > > +/* Check USB PHY clock valid */
>> > > > > +static int usb_phy_clk_valid(struct usb_ehci *ehci) {
>> > > > > + if ((!(in_be32(&ehci->control) & PHY_CLK_VALID)) &&
>> > > > > +
Hi,
On Thu, 18 Oct 2012 06:21:56 +0200
Marek Vasut wrote:
> Dear Shengzhou Liu,
>
> > when missing USB PHY clock, u-boot will hang during USB
> > initialization when issuing "usb start". We should check
> > USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case.
> >
> > Signed-off-by: Shen
Dear Liu Shengzhou-B36685,
> > -Original Message-
> > From: Marek Vasut [mailto:ma...@denx.de]
> > Sent: Thursday, October 18, 2012 3:16 PM
> > To: Liu Shengzhou-B36685
> > Cc: u-boot@lists.denx.de; Stefan Roese; ag...@denx.de
> > Subject: Re: [PATCH] powerpc/usb: fix bug of CPU hang when
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Thursday, October 18, 2012 3:16 PM
> To: Liu Shengzhou-B36685
> Cc: u-boot@lists.denx.de; Stefan Roese; ag...@denx.de
> Subject: Re: [PATCH] powerpc/usb: fix bug of CPU hang when missing USB
> PHY clock
>
> Dear Liu
Dear Liu Shengzhou-B36685,
> > -Original Message-
> >
> > > +/* Check USB PHY clock valid */
> > > +static int usb_phy_clk_valid(struct usb_ehci *ehci) {
> > > + if ((!(in_be32(&ehci->control) & PHY_CLK_VALID)) &&
> > > + (!in_be32(&ehci->prictrl))) {
> >
> > (!A && !B) c
> -Original Message-
> >
> > +/* Check USB PHY clock valid */
> > +static int usb_phy_clk_valid(struct usb_ehci *ehci) {
> > + if ((!(in_be32(&ehci->control) & PHY_CLK_VALID)) &&
> > + (!in_be32(&ehci->prictrl))) {
>
> (!A && !B) condition can certainly be done without
Dear Shengzhou Liu,
> when missing USB PHY clock, u-boot will hang during USB
> initialization when issuing "usb start". We should check
> USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case.
>
> Signed-off-by: Shengzhou Liu
CCing PPC experts.
> ---
> against master branch of upstream u
when missing USB PHY clock, u-boot will hang during USB
initialization when issuing "usb start". We should check
USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case.
Signed-off-by: Shengzhou Liu
---
against master branch of upstream u-boot tree
drivers/usb/host/ehci-fsl.c | 22
10 matches
Mail list logo