Jett Rink has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39018 )
Change subject: ec/google/chromeec: Introduce SKU_ID helpers
......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/c/coreboot/+/39018/3/src/ec/google/chromeec/ec_b...
File src/ec/google/chromeec/ec_boardid.c:
https://review.coreboot.org/c/coreboot/+/39018/3/src/ec/google/chromeec/ec_b...
PS3, Line 50: sku_str
Also in decimal form (%u) the value value could be
"sku4294967295" which needs 13 character plus a NULL (so 14 total)
https://review.coreboot.org/c/coreboot/+/39018/3/src/ec/google/chromeec/ec_b...
PS3, Line 53: if ((sku_id == SKU_UNKNOWN) ||
: (sku_id > CONFIG_EC_GOOGLE_CHROMEEC_SKU_ID_MAX)) {
: printk(BIOS_ERR, "%s: Unexpected SKU ID %u\n",
: __func__, sku_id);
: return "";
: }
+1 to just passing up the value to SMBIOS since the firmware should no longer care about this value. […]
Nevermind about the firmware configuration comment here...I still like just passing up the value verbatim though
--
To view, visit
https://review.coreboot.org/c/coreboot/+/39018
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I805b25465a3b4ee3dc0cbda5feb9e9ea2493ff9e
Gerrit-Change-Number: 39018
Gerrit-PatchSet: 3
Gerrit-Owner: Edward O'Callaghan
quasisec@chromium.org
Gerrit-Assignee: Jett Rink
jettrink@google.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Daniel Kurtz
djkurtz@chromium.org
Gerrit-Reviewer: Edward O'Callaghan
quasisec@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Jett Rink
jettrink@google.com
Gerrit-Reviewer: Sam McNally
sammc@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Jett Rink
jettrink@chromium.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 24 Feb 2020 21:08:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jett Rink
jettrink@chromium.org
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Gerrit-MessageType: comment