Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49050 )
Change subject: drivers/vpd: Add support to read device serial from VPD
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/49050/1/src/drivers/vpd/vpd.c
File src/drivers/vpd/vpd.c:
https://review.coreboot.org/c/coreboot/+/49050/1/src/drivers/vpd/vpd.c@306
PS1, Line 306: har *smbios_system_serial_number(void)
: {
: static char serial[VPD_SERIAL_LEN];
: if (vpd_gets(VPD_KEY_SYSTEM_SERIAL, serial, VPD_SERIAL_LEN, VPD_RO))
: return serial;
: return "";
: }
:
: const char *smbios_mainboard_serial_number(void)
: {
: static char serial[VPD_SERIAL_LEN];
: if (vpd_gets(VPD_KEY_MAINBOARD_SERIAL, serial, VPD_SERIAL_LEN, VPD_RO))
: return serial;
: return "";
: }
: #endif
ack
ah, I missed that it's defined weak in smbios code, nvm then
--
To view, visit
https://review.coreboot.org/c/coreboot/+/49050
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I14ae07cd8b764e1e22d58577c7cc697ca1496bd5
Gerrit-Change-Number: 49050
Gerrit-PatchSet: 2
Gerrit-Owner: Matt DeVillier
matt.devillier@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Michael Niewöhner
foss@mniewoehner.de
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Fri, 01 Jan 2021 22:27:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Comment-In-Reply-To: Matt DeVillier
matt.devillier@gmail.com
Comment-In-Reply-To: Michael Niewöhner
foss@mniewoehner.de
Gerrit-MessageType: comment