[PATCH v2 0/3] bootstage support for risc-v

Chanho Park
2023-08-28T09:50:10Z

This adds to support bootstage for risc-v. timer_get_boot_us function
is required to record each boot stages with microsecond timestamp.

Changes from v1:
- Correct #ifdef guard for riscv_aclint_timer and riscv_timer

Chanho Park (3):
riscv: bootstage: correct bootstage_report guard
riscv: timer: add timer_get_boot_us for BOOTSTAGE
timer: riscv_aclint_timer: add timer_get_boot_us for BOOTSTAGE

arch/riscv/lib/bootm.c | 2 +-
drivers/timer/riscv_aclint_timer.c | 22 ++++++++++++++++++++++
drivers/timer/riscv_timer.c | 21 +++++++++++++++++++++
3 files changed, 44 insertions(+), 1 deletion(-)

--
2.39.2