Philipp Hug has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31047 )
Change subject: src/mb/sifive/hifive-unleashed: replace fdt in maskrom
......................................................................
Patch Set 9: Code-Review-1
We should not add a fdt parser in arch/riscv.
There is one in src/base/device_tree.c.
Unfortunately this one only supports changing the unflattened device-tree and uses malloc, which is why you wrote your own, I guess.
@ron: do you have any ideas here? unflattening seems a bit of an overhead here (and needs malloc, which is only available in ramstage) and the typical changes we need could be done by patching the fdt.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/31047
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic29f0e590311360b85fafd12ebc36cd189fbbc38
Gerrit-Change-Number: 31047
Gerrit-PatchSet: 9
Gerrit-Owner: Xiang Wang
wxjstz@126.com
Gerrit-Reviewer: Jonathan Neuschäfer
j.neuschaefer@gmx.net
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Philipp Hug
philipp@hug.cx
Gerrit-Reviewer: Shawn C
citypw@gmail.com
Gerrit-Reviewer: Xiang Wang
wxjstz@126.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-Comment-Date: Thu, 24 Jan 2019 11:12:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment