aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/include/intelblocks
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>2019-04-23 15:18:51 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-04-29 12:18:27 +0000
commitc126084bc53e0f74f6085f4f84b5bc387d701a4f (patch)
tree2bd881e538ec2fb83a1b63982ae1fdbd28956401 /src/soc/intel/common/block/include/intelblocks
parent91ead42f4bcfcc41190876343ab1cae2c35fb846 (diff)
soc/intel: Add GPI interrupt config register offset info
Add the offset information for GPI interrupt status and enable register in the pad_community structure. Populate the concerned information for individual SoCs. This offset information is required to clear the interrupt configuration during the bootup. BUG=b:130593883 BRANCH=None TEST=Ensure that the interrupt configuration are cleared during bootup. Ensured that the system boots to ChromeOS. Change-Id: I8af877a734e8d49b700d720b736da8764985a8f8 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32446 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/common/block/include/intelblocks')
-rw-r--r--src/soc/intel/common/block/include/intelblocks/gpio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/gpio.h b/src/soc/intel/common/block/include/intelblocks/gpio.h
index 11a03d029c..147f6897a8 100644
--- a/src/soc/intel/common/block/include/intelblocks/gpio.h
+++ b/src/soc/intel/common/block/include/intelblocks/gpio.h
@@ -105,8 +105,10 @@ struct pad_community {
gpio_t first_pad; /* first pad in community */
gpio_t last_pad; /* last pad in community */
uint16_t host_own_reg_0; /* offset to Host Ownership Reg 0 */
- uint16_t gpi_smi_sts_reg_0; /* offset to GPI SMI EN Reg 0 */
- uint16_t gpi_smi_en_reg_0; /* offset to GPI SMI STS Reg 0 */
+ uint16_t gpi_int_sts_reg_0; /* offset to GPI Int STS Reg 0 */
+ uint16_t gpi_int_en_reg_0; /* offset to GPI Int Enable Reg 0 */
+ uint16_t gpi_smi_sts_reg_0; /* offset to GPI SMI STS Reg 0 */
+ uint16_t gpi_smi_en_reg_0; /* offset to GPI SMI EN Reg 0 */
uint16_t pad_cfg_base; /* offset to first PAD_GFG_DW0 Reg */
uint8_t gpi_status_offset; /* specifies offset in struct
gpi_status */