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:
(1 comment)
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 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 "";
: }
I am wondering.. is it bad if we just skip this check completely? i.e. […]
+1 to just passing up the value to SMBIOS since the firmware should no longer care about this value. All decision should be based on the firmware configuration field instead now.
--
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 19:15:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Gerrit-MessageType: comment