summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/apollolake/bootblock/bootblock.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c
index ac6903a9d2..c791378f13 100644
--- a/src/soc/intel/apollolake/bootblock/bootblock.c
+++ b/src/soc/intel/apollolake/bootblock/bootblock.c
@@ -122,3 +122,12 @@ void bootblock_soc_early_init(void)
paging_enable_for_car("pdpt", "pt");
}
}
+
+void bootblock_soc_init(void)
+{
+ /*
+ * Clear the GPI interrupt enable & status registers to avoid any
+ * interrupt storm during the kernel bootup.
+ */
+ gpi_clear_int_cfg();
+}