Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | timer: riscv_aclint_timer: add timer_get_boot_us for BOOTSTAGE | Chanho Park | 2023-10-04 | 1 | -0/+23 |
| | | | | | | | | | | | | | timer_get_boot_us function is required to record the boot stages as us-based timestamp. To get a micro-second time from a timer tick, this converts the formula like below to avoid zero result of (tick / rate) part. From: time(us) = (tick / rate) * 1000000 To : time(us) = (tick * 1000) / (rate / 1000) Signed-off-by: Chanho Park <chanho61.park@samsung.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> | ||||
* | riscv: Rename SiFive CLINT to RISC-V ALINT | Bin Meng | 2023-07-12 | 1 | -0/+74 |
As the RISC-V ACLINT specification is defined to be backward compatible with the SiFive CLINT specification, we rename SiFive CLINT to RISC-V ALINT in the source tree to be future-proof. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Rick Chen <rick@andestech.com> |