Paul Fagerburg has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36068 )
Change subject: automation: add empty_ddr4.spd.hex to Makefile.inc
......................................................................
Patch Set 3:
Patch Set 3:
Wonder if it would be better to allow an empty SPD_SOURCES and print an info instead of an error in spd/Makefile.inc.
Allowing an empty SPD_SOURCES means we need extra logic for when spd.bin doesn't exist (because it only gets built if SPD_SOURCES is non-empty), and then the C array that points to the SPD data has to have special logic as well. And then when you try to run your code, it doesn't work because you don't have any SPD for your DRAM so MRC doesn't know what to do.
On the other hand, if we start with an "empty" SPD, we have one slot filled, spd.bin gets built, the C array has some contents, it's just that (as before) your code won't work, though this time it's because the SPD doesn't work for the DRAM you have.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/36068
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie946cfd7c071824168faa38fd53bd338a5a451e1
Gerrit-Change-Number: 36068
Gerrit-PatchSet: 3
Gerrit-Owner: Paul Fagerburg
pfagerburg@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Jett Rink
jettrink@chromium.org
Gerrit-Reviewer: Justin TerAvest
teravest@chromium.org
Gerrit-Reviewer: Keith Short
keithshort@chromium.org
Gerrit-Reviewer: Marco Chen
marcochen@chromium.org
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Paul Fagerburg
pfagerburg@chromium.org
Gerrit-Reviewer: Scott Collyer
scollyer@chromium.org
Gerrit-Reviewer: Shelley Chen
shchen@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Tue, 22 Oct 2019 14:52:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment