Re: [U-Boot] [PATCH 1/5] lib: Add wait_for_bit

2015-12-14 Thread Marek Vasut
On Tuesday, December 15, 2015 at 01:09:23 AM, Mateusz Kulikowski wrote: > Add function to poll register waiting for specific bit(s). > Similar functions are implemented in few drivers - they are almost > identical and can be generalized. > Signed-off-by: Mateusz Kulikowski > --- Excellent ! > i

[U-Boot] [PATCH 1/5] lib: Add wait_for_bit

2015-12-14 Thread Mateusz Kulikowski
Add function to poll register waiting for specific bit(s). Similar functions are implemented in few drivers - they are almost identical and can be generalized. Signed-off-by: Mateusz Kulikowski --- include/wait_bit.h | 34 ++ lib/Kconfig| 4 lib/Make