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

Chanho Park chanho61.park at samsung.com
Wed Sep 6 07:18:11 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 v2:
- Add a Leo's RB tag of 1/3 patch
- Add a description of the calculation formula
- Correct the divisor value typo of 3/3 patch

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 | 23 +++++++++++++++++++++++
 drivers/timer/riscv_timer.c        | 22 ++++++++++++++++++++++
 3 files changed, 46 insertions(+), 1 deletion(-)

-- 
2.39.2



More information about the U-Boot mailing list