Rizwan Qureshi has uploaded this change for review. ( https://review.coreboot.org/20994
Change subject: mb/google/soraka: GPIO config should not reset during warm reset
......................................................................
mb/google/soraka: GPIO config should not reset during warm reset
Setting GPIO pad reset config to DEEP will reset te gpio configuration
across warm reset, set it to RSMRST to preserve the configuration.
Also, GPIO pad reset configs for GPP and GPD pads are not same and SoC
definitions have been updated use the appropriate one.
BUG=b:64386481
Change-Id: If32f839144b9201dc23e95c7572b595a70248286
Signed-off-by: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
---
M src/mainboard/google/poppy/variants/soraka/gpio.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/20994/1
diff --git a/src/mainboard/google/poppy/variants/soraka/gpio.c b/src/mainboard/google/poppy/variants/soraka/gpio.c
index 6e0a54f..313378c 100644
--- a/src/mainboard/google/poppy/variants/soraka/gpio.c
+++ b/src/mainboard/google/poppy/variants/soraka/gpio.c
@@ -370,7 +370,7 @@
/* Early pad configuration in bootblock */
static const struct pad_config early_gpio_table[] = {
/* B8 : SRCCLKREQ3# ==> WLAN_PE_RST */
- PAD_CFG_GPO(GPP_B8, 0, DEEP),
+ PAD_CFG_GPO(GPP_B8, 0, GPP_RSMRST),
#if IS_ENABLED(CONFIG_POPPY_USE_SPI_TPM)
/* B15 : GSPI0_CS# ==> PCH_SPI_H1_3V3_CS_L */
--
To view, visit https://review.coreboot.org/20994
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If32f839144b9201dc23e95c7572b595a70248286
Gerrit-Change-Number: 20994
Gerrit-PatchSet: 1
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Rizwan Qureshi has uploaded this change for review. ( https://review.coreboot.org/20993
Change subject: soc/intel/skylake: Fix gpio pad reset config discrepency
......................................................................
soc/intel/skylake: Fix gpio pad reset config discrepency
The pad reset config field values for RSMRST differ between
GPP (Primary well GPIOs) and GPD (Deep Sleep Well GPIOs) pads.
Currently same value (11b) is being used for both. To eliminate
the confusion add separate macros for each config.
BUG=b:64386481
TEST=Check if the pad config is repserved across reset when RSMRST is selected
Change-Id: Ib5c2b90a5af022ceb7312ff56fa8b4cc31ef8b8c
Signed-off-by: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
---
M src/soc/intel/skylake/include/soc/gpio_defs.h
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/20993/1
diff --git a/src/soc/intel/skylake/include/soc/gpio_defs.h b/src/soc/intel/skylake/include/soc/gpio_defs.h
index 34461f2..90c54c5 100644
--- a/src/soc/intel/skylake/include/soc/gpio_defs.h
+++ b/src/soc/intel/skylake/include/soc/gpio_defs.h
@@ -224,7 +224,8 @@
#define PADRSTCFG_DSW_PWROK 0
#define PADRSTCFG_DEEP 1
#define PADRSTCFG_PLTRST 2
-#define PADRSTCFG_RSMRST 3
+#define PADRSTCFG_GPP_RSMRST 0
+#define PADRSTCFG_GPD_RSMRST 3
/* RXPADSTSEL - raw signal or internal state */
#define RXPADSTSEL_SHIFT 29
#define RXPADSTSEL_MASK 0x1
--
To view, visit https://review.coreboot.org/20993
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5c2b90a5af022ceb7312ff56fa8b4cc31ef8b8c
Gerrit-Change-Number: 20993
Gerrit-PatchSet: 1
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>