[coreboot-gerrit] Change in coreboot[master]: arch/riscv: Avoid config string-based query_mem

Jonathan Neuschäfer (Code Review) gerrit at coreboot.org
Tue Sep 26 02:28:49 CEST 2017


Jonathan Neuschäfer has uploaded a new patch set (#2). ( https://review.coreboot.org/21690 )

Change subject: arch/riscv: Avoid config string-based query_mem
......................................................................

arch/riscv: Avoid config string-based query_mem

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.

This lets coreboot run until somewhere in ramstage.

Change-Id: Ice13feae4da2085ee56bac4ac2864268da18d8fe
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
M src/mainboard/emulation/spike-riscv/romstage.c
M src/soc/ucb/riscv/cbmem.c
2 files changed, 8 insertions(+), 7 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/21690/2
-- 
To view, visit https://review.coreboot.org/21690
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ice13feae4da2085ee56bac4ac2864268da18d8fe
Gerrit-Change-Number: 21690
Gerrit-PatchSet: 2
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170926/2de242b8/attachment.html>


More information about the coreboot-gerrit mailing list