opensbi/platform/fpga/openpiton
Anup Patel 12e7af9ab7 lib: sbi: Add timer frequency to struct sbi_timer_device
Generic mdelay() and udelay() functions can be provided by the
sbi_timer framework if timer frequency is available in the timer
instance provided by the platform support or timer driver.

This patch adds timer frequency (timer_freq) member in the
struct sbi_timer_device for above purpose.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Xiang W <wxjstz@126.com>
2021-09-26 19:52:10 +05:30
..
config.mk platform: Add OpenPiton platform support 2020-03-24 13:18:38 +05:30
objects.mk platform: Add OpenPiton platform support 2020-03-24 13:18:38 +05:30
platform.c lib: sbi: Add timer frequency to struct sbi_timer_device 2021-09-26 19:52:10 +05:30