[U-Boot] [PATCH] usb: r8a66597: Add support for RZ/A series

Chris Brandt Chris.Brandt at renesas.com
Wed Nov 29 15:28:03 UTC 2017


On Tuesday, November 28, 2017, Marek Vasut wrote:
> >>> So, I can't use wait_for_bit()
> >>
> >> Can we somehow extend wait_for_bit() ?
> >
> > It's a nice function, so it would be good if it worked with more than
> > just 32-bit registers.
> >
> > However, it's used in 98 places at the moment, so coordinating
> modifying
> > all those changes at once might be an issue.
> 
> What about readb_poll_timeout() , would that work ?

I just tried it out and it seems to work OK.

I'll do a little more testing, and if it's still OK, I'll send a patch.

Thanks,
Chris



More information about the U-Boot mailing list