Hello Kyösti Mälkki, ron minnich, Jonathan Neuschäfer, Philipp Deppenwiese, build bot (Jenkins), Philipp Hug, Xiang Wang,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/33797
to look at the new patch set (#2).
Change subject: arch/riscv: Fix arch timer timebase ......................................................................
arch/riscv: Fix arch timer timebase
The arch timer uses a platform specific clock source. Add a Kconfig that holds this clock frequency and use it to calculate the time passed by.
Update Kconfig and Documentation with a TODO: Implement bootblock FDT parser and read 'timebase-frequency' instead of using a Kconfig.
Tested on qemu-system-riscv: Fixes delays being ten times shorter as expected.
Change-Id: I2588149e2ee32130a2c41695c4c723b57d4fa827 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M Documentation/arch/riscv/index.md M src/arch/riscv/Kconfig M src/arch/riscv/arch_timer.c M src/soc/sifive/fu540/Kconfig M src/soc/ucb/riscv/Kconfig 5 files changed, 34 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/33797/2