summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-12-04 11:17:07 +0200
committerNico Huber <nico.h@gmx.de>2016-12-07 23:30:16 +0100
commit4015608ed776a8c63c928b5b59ed9e3ad6d677ca (patch)
tree325aee9d83096d5ca346020599e8177cdb3b2d28
parentfe204fe902f5d08dbf07e0f9686e4315c67292ea (diff)
autoport: Fix romstage generator
Prototype changed here: e258b9a intel sandy/ivy: Improve DIMM replacement detection Change-Id: Id79238db2e497b9163f3bd1b1d5d4bc11fe4da9e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17711 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--util/autoport/bd82x6x.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index 1252292930..ed94df7798 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -367,11 +367,11 @@ void mainboard_config_superio(void)
}
/* FIXME: Put proper SPD map here. */
-void mainboard_get_spd(spd_raw_data *spd)
+void mainboard_get_spd(spd_raw_data *spd, bool id_only)
{
`)
for i, spd := range guessedMap {
- fmt.Fprintf(sb, "\tread_spd(&spd[%d], 0x%02x);\n", i, spd)
+ fmt.Fprintf(sb, "\tread_spd(&spd[%d], 0x%02x, id_only);\n", i, spd)
}
sb.WriteString("}\n")