Frank Wu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44455 )
Change subject: mb/google/volteer/halvor: Skip fw_config override on Halvor.
......................................................................
mb/google/volteer/halvor: Skip fw_config override on Halvor.
Volteer and Halvor share the same fw_config MAX98373_ALC5682I_I2S.
However, the GPP_A23 is used as I2S1_SCLK on Volteer but HP_INT_L on Halvor.
The GPP_A23 is overridden as I2S1_SCLK at last, so the detection of headset
jack is not workable.
The audio settings are included in halvor/gpio.c and skip the fw_config on
Halvor to make the gpios correct.
BUG=b:153680359, b:163382106
TEST=FW_NAME=halvor emerge-volteer coreboot chromeos-bootimage, then verify
that headset jack detection is fine on Halvor.
Signed-off-by: Frank Wu <frank_wu(a)compal.corp-partner.google.com>
Change-Id: Ie644ed2b95d0e355f91d92f0b3c4ce14cd4afa98
---
M src/mainboard/google/volteer/fw_config.c
M src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h
2 files changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/44455/1
diff --git a/src/mainboard/google/volteer/fw_config.c b/src/mainboard/google/volteer/fw_config.c
index 61e20f4..21eb3e1b 100644
--- a/src/mainboard/google/volteer/fw_config.c
+++ b/src/mainboard/google/volteer/fw_config.c
@@ -4,6 +4,7 @@
#include <console/console.h>
#include <fw_config.h>
#include <gpio.h>
+#include <variant/gpio.h>
static const struct pad_config dmic_enable_pads[] = {
PAD_CFG_NF(GPP_S4, NONE, DEEP, NF2), /* DMIC_CLK1 */
@@ -59,6 +60,9 @@
static void fw_config_handle(void *unused)
{
+#ifdef SKIP_FW_CONFIG_GPIO
+ return;
+#endif
if (fw_config_probe(FW_CONFIG(AUDIO, NONE))) {
printk(BIOS_INFO, "Configure GPIOs for no audio.\n");
gpio_configure_pads(i2s_disable_pads, ARRAY_SIZE(i2s_disable_pads));
diff --git a/src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h b/src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h
index fe512d8..ce32b3b 100644
--- a/src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h
+++ b/src/mainboard/google/volteer/variants/halvor/include/variant/gpio.h
@@ -5,6 +5,7 @@
#include <baseboard/gpio.h>
+#define SKIP_FW_CONFIG_GPIO 1
#undef GPIO_EC_IN_RW
/* EC in RW */
#define GPIO_EC_IN_RW GPP_F17
--
To view, visit https://review.coreboot.org/c/coreboot/+/44455
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie644ed2b95d0e355f91d92f0b3c4ce14cd4afa98
Gerrit-Change-Number: 44455
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Wu <frank_wu(a)compal.corp-partner.google.com>
Gerrit-MessageType: newchange
Harshit Sharma has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42794 )
Change subject: crossgcc: Enable GCC to get asan shadow offset at runtime
......................................................................
Patch Set 21:
> Patch Set 20:
>
> I'll put it in now, but we'll need an uprev to gcc 10 soon (see CB:42251). Can you take a
> look at this?
Sure.
--
To view, visit https://review.coreboot.org/c/coreboot/+/42794
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I401631938532a406a6d41e77c6c9716b6b2bf48d
Gerrit-Change-Number: 42794
Gerrit-PatchSet: 21
Gerrit-Owner: Harshit Sharma <harshitsharmajs(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: 9elements QA <hardwaretestrobot(a)gmail.com>
Gerrit-CC: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Comment-Date: Tue, 18 Aug 2020 23:42:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39538 )
Change subject: soc/intel/skylake: Configure L1 substates for PCH root ports
......................................................................
Patch Set 25:
> Patch Set 25:
>
> > Patch Set 25: Code-Review+1
> >
> > LGTM. Are there any interdependencies with any of the other PCIe PM-related settings?
>
> Perhaps that "PcieRpAspm" doesn't disable L1 for a given root port?
should coreboot automatically disable L1SS on a given port if PcieRpAspm is disabled for that port? Or are we just depending on the board config to be sane?
--
To view, visit https://review.coreboot.org/c/coreboot/+/39538
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I36150858485715016158595c832c142b0582ddb8
Gerrit-Change-Number: 39538
Gerrit-PatchSet: 25
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 18 Aug 2020 21:38:24 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment