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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot