soc/intel/apollolake/bootblock: Clear the GPI IS & IE registers
commitf81c589ad25580b82a0c61031168385e8057293d
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>
Wed, 24 Apr 2019 16:19:07 +0000 (24 10:19 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 29 Apr 2019 12:18:54 +0000 (29 12:18 +0000)
treeeb21d7e9a89847466874bd5b5d9344613160152e
parent3391a31cf9e74fc9e40d876aa6689e98af38882d
soc/intel/apollolake/bootblock: Clear the GPI IS & IE registers

Clear the GPI Interrupt Status & Enable registers to prevent any
interrupt storms due to GPI.

BUG=b:130593883
BRANCH=octopus
TEST=Ensure that the Interrupt status & enable registers are reset
during the boot up when the system is brought out of G3, S5 & S3. Ensure
that the system boots fine to ChromeOS.

Change-Id: Ia3b9d3bf08472219348e20b53bae470c589039fb
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32448
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/soc/intel/apollolake/bootblock/bootblock.c