arch/riscv: hls_init: Initialize time{,cmp} with dummy pointers
commit3b2712d757190d868f625d5bca51230ceb351270
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sat, 23 Sep 2017 22:43:37 +0000 (24 00:43 +0200)
committerMartin Roth <martinroth@google.com>
Wed, 27 Sep 2017 16:41:03 +0000 (27 16:41 +0000)
tree3443f9fbb4e06f332feda8887f440ecd3d4abfd1
parent69a143d682919bb27beb317616ef8d0eecf67dd4
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 <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/21657
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
src/arch/riscv/mcall.c