Attention is currently required from: Dinesh Gehlot, Eric Lai, Jayvik Desai, Kun Liu, Nick Vaccaro, Rui Zhou.
Kapil Porwal has posted comments on this change by Rui Zhou. ( https://review.coreboot.org/c/coreboot/+/85875?usp=email )
Change subject: mb/google/nissa/var/rull: Match VBT with SSFC
......................................................................
Patch Set 2:
(1 comment)
File src/mainboard/google/brya/variants/rull/variant.c:
https://review.coreboot.org/c/coreboot/+/85875/comment/cded07b7_3e5bed14?usp... :
PS2, Line 47:
: static int get_ssfc(uint32_t *val)
: {
: static uint32_t known_value;
: static enum {
: SSFC_NOT_READ,
: SSFC_AVAILABLE,
: } ssfc_state = SSFC_NOT_READ;
:
: if (ssfc_state == SSFC_AVAILABLE) {
: *val = known_value;
: return 0;
: }
:
: /*
: * If SSFC field is not in the CBI then the value of SSFC will be 0 for
: * further processing later since 0 of each bits group means default
: * component in a variant. For more detail, please refer to cbi_ssfc.h.
: */
: if (google_chromeec_cbi_get_ssfc(&known_value) != 0) {
: printk(BIOS_DEBUG, "SSFC not set in CBI\n");
: return -1;
: }
:
: ssfc_state = SSFC_AVAILABLE;
: *val = known_value;
: printk(BIOS_INFO, "SSFC 0x%x.\n", known_value);
: return 0;
: }
Looking at the use case of the new function, I am wondering why we are not using `google_chromeec_ […]
But here we are just calling it once.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/85875?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I413179af0a1346b7d21f17d728d6846c30707978
Gerrit-Change-Number: 85875
Gerrit-PatchSet: 2
Gerrit-Owner: Rui Zhou
zhourui@huaqin.corp-partner.google.com
Gerrit-Reviewer: Dinesh Gehlot
digehlot@google.com
Gerrit-Reviewer: Eric Lai
ericllai@google.com
Gerrit-Reviewer: Jayvik Desai
jayvik@google.com
Gerrit-Reviewer: Kapil Porwal
kapilporwal@google.com
Gerrit-Reviewer: Kun Liu
liukun11@huaqin.corp-partner.google.com
Gerrit-Reviewer: Nick Vaccaro
nvaccaro@chromium.org
Gerrit-Reviewer: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Jayvik Desai
jayvik@google.com
Gerrit-Attention: Eric Lai
ericllai@google.com
Gerrit-Attention: Rui Zhou
zhourui@huaqin.corp-partner.google.com
Gerrit-Attention: Dinesh Gehlot
digehlot@google.com
Gerrit-Attention: Nick Vaccaro
nvaccaro@chromium.org
Gerrit-Attention: Kun Liu
liukun11@huaqin.corp-partner.google.com
Gerrit-Comment-Date: Wed, 08 Jan 2025 11:36:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Rui Zhou
zhourui@huaqin.corp-partner.google.com
Comment-In-Reply-To: Subrata Banik
subratabanik@google.com
Comment-In-Reply-To: Kapil Porwal
kapilporwal@google.com