summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8186/include
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>2021-10-15 21:02:25 +0800
committerHung-Te Lin <hungte@chromium.org>2021-11-15 03:07:23 +0000
commitb9f95db1dcf14b7f14a4d5ad7b4340e00093c684 (patch)
tree026fe94f818fae291e0ade8150e37057da08aa6b /src/soc/mediatek/mt8186/include
parent2f9e5b9e34d5812047725b4aebf612848e8f507e (diff)
downloadcoreboot-b9f95db1dcf14b7f14a4d5ad7b4340e00093c684.tar.gz
coreboot-b9f95db1dcf14b7f14a4d5ad7b4340e00093c684.tar.bz2
coreboot-b9f95db1dcf14b7f14a4d5ad7b4340e00093c684.zip
soc/mediatek/mt8186: add GIC pre-initialization function
GIC (generic interrupt controller) defines architectural requirements for handling all interrupt sources and common interrupt controller programming interface. GIC needs to be pre-initialized on MT8186, so we add this initialize function. TEST=build pass BUG=b:202871018 Change-Id: I6bf439d0d9e1ca7130a69b9006b957afca8b133c Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59252 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8186/include')
-rw-r--r--src/soc/mediatek/mt8186/include/soc/gic.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8186/include/soc/gic.h b/src/soc/mediatek/mt8186/include/soc/gic.h
new file mode 100644
index 000000000000..7e1110771767
--- /dev/null
+++ b/src/soc/mediatek/mt8186/include/soc/gic.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/*
+ * This file is created based on MT8186 Functional Specification
+ * Chapter number: 4.3
+ */
+
+#ifndef SOC_MEDIATEK_MT8186_GIC_H
+#define SOC_MEDIATEK_MT8186_GIC_H
+
+void mtk_gic_preinit(void);
+
+#endif