Skip to content
Commit 9d0ab35a authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

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: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
parent 6355155f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment