summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/gpio/gpio.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/gpio/gpio.c b/src/soc/intel/common/block/gpio/gpio.c
index f77f88f3e0..6b6395544e 100644
--- a/src/soc/intel/common/block/gpio/gpio.c
+++ b/src/soc/intel/common/block/gpio/gpio.c
@@ -36,9 +36,16 @@
PAD_CFG0_TRIG_MASK | PAD_CFG0_RXRAW1_MASK | \
PAD_CFG0_RXPADSTSEL_MASK | PAD_CFG0_RESET_MASK)
+#if IS_ENABLED(CONFIG_SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL)
#define PAD_DW1_MASK (PAD_CFG1_IOSTERM_MASK | \
PAD_CFG1_PULL_MASK | \
+ PAD_CFG1_TOL_MASK | \
PAD_CFG1_IOSSTATE_MASK)
+#else
+#define PAD_DW1_MASK (PAD_CFG1_IOSTERM_MASK | \
+ PAD_CFG1_PULL_MASK | \
+ PAD_CFG1_IOSSTATE_MASK)
+#endif
#define PAD_DW2_MASK (0)
#define PAD_DW3_MASK (0)