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

Chanho Park chanho61.park at samsung.com
Mon Aug 28 11:49:35 CEST 2023


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



More information about the U-Boot mailing list