arch/riscv: hls_init: Initialize time{,cmp} with dummy pointers

In current versions of spike, the config string is not available
anymore, because RISC-V is moving toward OpenFirmware-derived device
trees (either in FDT or text format). Using query_config_string leads to
a crash in these versions of spike.

With this commit and If0bea4bf52d ("riscv: Update register address"),
coreboot reaches the romstage again, on spike.

Change-Id: Ib1e6565145f0b2252deb1f4658221a4f816e2af4
Signed-off-by: Jonathan Neuschäfer <>
Tested-by: build bot (Jenkins) <>
Reviewed-by: Ronald G. Minnich <>
1 file changed