riscv: update mtime initialization

Hardware / Coreboot - Xiang Wang [126.com] - 10 September 2018 15:03 EDT

Add a interface, which is implemented by SoC.

Change-Id: I5524732f6eb3841e43afd176644119b03b5e5e27

2e38dbe5f1 riscv: update mtime initialization
src/arch/riscv/include/mcall.h | 3 +++
src/arch/riscv/mcall.c | 4 +---
src/soc/lowrisc/lowrisc/Makefile.inc | 1 +
src/soc/lowrisc/lowrisc/mtime.c | 22 ++++++++++++++++++++++
src/soc/sifive/fu540/Makefile.inc | 1 +
src/soc/sifive/fu540/mtime.c | 22 ++++++++++++++++++++++
src/soc/ucb/riscv/Makefile.inc | 1 +
src/soc/ucb/riscv/mtime.c | 22 ++++++++++++++++++++++
8 files changed, 73 insertions(+), 3 deletions(-)

Upstream: review.coreboot.org


  • Share