diff options
author | Johnny Lin <johnny_lin@wiwynn.com> | 2021-01-25 15:45:06 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-26 10:37:10 +0000 |
commit | 38cb7c1615b79b7ccada3f94361e937c200be860 (patch) | |
tree | 2a7b244c84843f140f85c2b055bf0fd4fb2be1bb /src/mainboard | |
parent | 1f7a39eaf654c7462825893a6e1e0134ad968583 (diff) | |
download | coreboot-38cb7c1615b79b7ccada3f94361e937c200be860.tar.xz |
mb/ocp/deltalake: Replace space with underscore in Locator string
Per Facebook BIOS requirements 'Locator' field should not
have any space between words.
Tested=On OCP Delta Lake, dmidecode -t 17 to verify.
Change-Id: I2f6f1b2590c55d6da4ca32aef2f50eb332f441dc
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49895
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/ocp/deltalake/ramstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/ocp/deltalake/ramstage.c b/src/mainboard/ocp/deltalake/ramstage.c index 74980635be..4a3e385963 100644 --- a/src/mainboard/ocp/deltalake/ramstage.c +++ b/src/mainboard/ocp/deltalake/ramstage.c @@ -320,7 +320,7 @@ void smbios_fill_dimm_locator(const struct dimm_info *dimm, struct smbios_type17 { char buf[40]; - snprintf(buf, sizeof(buf), "DIMM %c0", 'A' + dimm->channel_num); + snprintf(buf, sizeof(buf), "DIMM_%c0", 'A' + dimm->channel_num); t->device_locator = smbios_add_string(t->eos, buf); snprintf(buf, sizeof(buf), "_Node0_Channel%d_Dimm0", dimm->channel_num); |