[coreboot-gerrit] Change in coreboot[master]: soc/intel/common/block/gpio: Fix PAD_DW1_MASK
Hannah Williams (Code Review)
gerrit at coreboot.org
Wed Aug 30 03:04:11 CEST 2017
Hannah Williams has uploaded this change for review. ( https://review.coreboot.org/21282
Change subject: soc/intel/common/block/gpio: Fix PAD_DW1_MASK
......................................................................
soc/intel/common/block/gpio: Fix PAD_DW1_MASK
for case CONFIG_SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL=y
https://ticket.coreboot.org/issues/128
Signed-off-by: Hannah Williams <hannah.williams at intel.com>
Change-Id: I2b0b9c07ebc99f4b4d7e8c5a72483bedd33e2e07
---
M src/soc/intel/common/block/gpio/gpio.c
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/21282/1
diff --git a/src/soc/intel/common/block/gpio/gpio.c b/src/soc/intel/common/block/gpio/gpio.c
index f77f88f..458c7e9 100644
--- a/src/soc/intel/common/block/gpio/gpio.c
+++ b/src/soc/intel/common/block/gpio/gpio.c
@@ -40,6 +40,14 @@
PAD_CFG1_PULL_MASK | \
PAD_CFG1_IOSSTATE_MASK)
+#if IS_ENABLED(CONFIG_SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL)
+#undef PAD_DW1_MASK
+#define PAD_DW1_MASK (PAD_CFG1_IOSTERM_MASK | \
+ PAD_CFG1_PULL_MASK | \
+ PAD_CFG1_TOL_MASK | \
+ PAD_CFG1_IOSSTATE_MASK)
+#endif
+
#define PAD_DW2_MASK (0)
#define PAD_DW3_MASK (0)
--
To view, visit https://review.coreboot.org/21282
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b0b9c07ebc99f4b4d7e8c5a72483bedd33e2e07
Gerrit-Change-Number: 21282
Gerrit-PatchSet: 1
Gerrit-Owner: Hannah Williams <hannah.williams at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170830/f4ca54a5/attachment.html>
More information about the coreboot-gerrit
mailing list