Attention is currently required from: Subrata Banik, Paul Menzel, Tim Wawrzynczak, EricR Lai, Karthik Ramasubramanian.
Nick Vaccaro has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/61114 )
Change subject: mb/google/brya: Apply fw_config_gpio_override API
......................................................................
Patch Set 8:
(1 comment)
File src/mainboard/google/brya/variants/anahera4es/fw_config.c:
https://review.coreboot.org/c/coreboot/+/61114/comment/dd2de180_aff5d561
PS8, Line 8: static const struct pad_config dmic_enable_pads[] = {
: PAD_CFG_NF(GPP_R4, NONE, DEEP, NF3), /* DMIC_CLK0 */
: PAD_CFG_NF(GPP_R5, NONE, DEEP, NF3), /* DMIC_DATA0 */
:
: };
:
:
Why did these arrays need to change from being constant structs? Because of the add_fw_override_pad() prototype?
I think it might be better to change gpio_override() to take a "const struct pad_info fw_config_gpio" as it's second parameter given it doesn't change that structure anyway and allow these constant structures to remain constant.
Thoughts?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/61114
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I41fcfab197fd0d75bcefc68d8343e6e631fbeaba
Gerrit-Change-Number: 61114
Gerrit-PatchSet: 8
Gerrit-Owner: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-Reviewer: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Reviewer: Nick Vaccaro
nvaccaro@google.com
Gerrit-Reviewer: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Subrata Banik
subratabanik@google.com
Gerrit-Attention: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Attention: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-Attention: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Comment-Date: Thu, 17 Feb 2022 00:10:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment