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>
This commit is contained in:
committed by
Patrick Georgi
parent
91ead42f4b
commit
c126084bc5
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user