Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31236
Change subject: mb/google/hatch: Configure GPIOs again after FSP-S is done
......................................................................
mb/google/hatch: Configure GPIOs again after FSP-S is done
FSP-S is currently configuring GPIOs that it should not. This results
in issues like host unable to receive TPM interrupts as the pad for
the interrupt is re-configured as something else.
Until FSP-S is fixed, this change adds a workaround by reconfiguring
GPIOs after FSP-S is run.
BUG=b:123721147
BRANCH=None
TEST=Verified that there are no TPM IRQ timeouts in boot log.
Change-Id: Ib197529a730f0142152c94ddf4a2b005bae123f5
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
---
M src/mainboard/google/hatch/ramstage.c
1 file changed, 13 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/31236/1
diff --git a/src/mainboard/google/hatch/ramstage.c b/src/mainboard/google/hatch/ramstage.c
index b8e80e7..e2fe048 100644
--- a/src/mainboard/google/hatch/ramstage.c
+++ b/src/mainboard/google/hatch/ramstage.c
@@ -20,7 +20,7 @@
#include <variant/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
-void mainboard_silicon_init_params(FSP_S_CONFIG *params)
+static void mainboard_configure_gpios(void)
{
const struct pad_config *gpio_table;
size_t num_gpios;
@@ -29,10 +29,22 @@
gpio_configure_pads(gpio_table, num_gpios);
}
+void mainboard_silicon_init_params(FSP_S_CONFIG *params)
+{
+ mainboard_configure_gpios();
+}
+
+static void mainboard_init(struct device *dev)
+{
+ /* Workaround FSP issue by reprogramming GPIOs after FSP-S */
+ mainboard_configure_gpios();
+}
+
static void mainboard_enable(struct device *dev)
{
mainboard_ec_init();
+ dev->ops->init = mainboard_init;
dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator;
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/31236
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib197529a730f0142152c94ddf4a2b005bae123f5
Gerrit-Change-Number: 31236
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/23394 )
Change subject: cpu/amd/model_fxx/fidvid: Use big enough type for left shift
......................................................................
Patch Set 1:
if I'm not wrong, this is removed.
--
To view, visit https://review.coreboot.org/c/coreboot/+/23394
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifc8ca1ae430d9382663d34f118b7eb16bf694732
Gerrit-Change-Number: 23394
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Wed, 06 Feb 2019 15:41:49 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/23379 )
Change subject: util/cbmem: Use big enough type for left-shift
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/23379
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia913c6589a6a35be88308b561ffde227ebca2e0e
Gerrit-Change-Number: 23379
Gerrit-PatchSet: 2
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 06 Feb 2019 15:37:50 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/23378 )
Change subject: include/device/pciexp.h: Use big enough type for left shift
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/23378
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If524affc03860e33038e36a5f8dd0fb0d33bd847
Gerrit-Change-Number: 23378
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 06 Feb 2019 15:37:34 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/23377 )
Change subject: soc/mediatek/mt8173/include/soc/wdt.h: Use big enough type for left-shift
......................................................................
Patch Set 1:
the file is here now:
src/soc/mediatek/common/include/soc/wdt.h
--
To view, visit https://review.coreboot.org/c/coreboot/+/23377
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I01de1886ec0912d060de4f9bd9dc0fdc9913c2e0
Gerrit-Change-Number: 23377
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Wed, 06 Feb 2019 15:37:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment