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

Marek Vasut marex at denx.de
Thu Nov 30 00:16:33 UTC 2017


On 11/29/2017 04:28 PM, Chris Brandt wrote:
> 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

> Thanks,
> Chris
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list