RISC-V boards: Stop using the config string
commit67b3268fac933c33a00a036dab4dfa366ffc3639
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 29 Sep 2017 04:29:38 +0000 (29 06:29 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 7 Nov 2017 12:31:00 +0000 (7 12:31 +0000)
treed25606e8428167ccb35e607697140b5dfd7fbe34
parent5a6e389747d37e4ed69d9261187155c83739a649
RISC-V boards: Stop using the config string

RISC-V is moving towards OpenFirmware-derived device trees, and the old
functions to read the config string don't work anymore. Use dummy values
for the memory base and size until we can query the device tree.

Change-Id: Ice13feae4da2085ee56bac4ac2864268da18d8fe
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/21690
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
src/mainboard/emulation/spike-riscv/romstage.c
src/mainboard/lowrisc/nexys4ddr/mainboard.c
src/soc/lowrisc/lowrisc/cbmem.c
src/soc/ucb/riscv/cbmem.c