summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJohnny Lin <johnny_lin@wiwynn.com>2021-01-25 15:45:06 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-26 10:37:10 +0000
commit38cb7c1615b79b7ccada3f94361e937c200be860 (patch)
tree2a7b244c84843f140f85c2b055bf0fd4fb2be1bb /src/mainboard
parent1f7a39eaf654c7462825893a6e1e0134ad968583 (diff)
downloadcoreboot-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.c2
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);