mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
common: Move wait_ticks functions out of common.h
This function belongs in time.h so move it over and add a comment. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -86,4 +86,14 @@ ulong usec2ticks(unsigned long usec);
|
||||
*/
|
||||
ulong ticks2usec(unsigned long ticks);
|
||||
|
||||
/**
|
||||
* wait_ticks() - waits a given number of ticks
|
||||
*
|
||||
* This is an internal function typically used to implement udelay() and
|
||||
* similar. Normally you should use udelay() or mdelay() instead.
|
||||
*
|
||||
* @ticks: Number of ticks to wait
|
||||
*/
|
||||
void wait_ticks(unsigned long ticks);
|
||||
|
||||
#endif /* _TIME_H */
|
||||
|
Reference in New Issue
Block a user