diff options
| author | Anup Patel <[email protected]> | 2021-09-15 10:11:24 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-09-26 19:52:15 +0530 |
| commit | 9d0ab35ab4e2b9edf022237e2592d999dfe54704 (patch) | |
| tree | 1a13f3b9bf115657923f82ae9fb991d4b2f6f995 /lib/utils/timer | |
| parent | 6355155f51d4b636a228b75d82ebbdc706174ae7 (diff) | |
lib: sbi: Add generic timer delay loop function
We now have frequency of the timer device provided by the platform
support so we can emulate desired delay using a loop where the number
loop iterations are based on timer frequency.
This patch provides sbi_timer_delay_loop() for above purpose.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Xiang W <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
