summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8188/include
diff options
context:
space:
mode:
authorLiju-Clr Chen <liju-clr.chen@mediatek.com>2022-11-01 10:35:33 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-11-04 13:19:52 +0000
commit5ab991d0ab285ee778ebc3d64875bb73e8c4c78b (patch)
tree448b94c5b6029dccde1d44b8cd8ec49139737bba /src/soc/mediatek/mt8188/include
parent78b7fb2c17a697e7511a48a271402839f51e7800 (diff)
soc/mediatek/mt8188: Disable input-gating for big-core SRAM
The input-gating is an experimental feature (but unfortunately default enabled) and would lead to crash on MT8188, so we have to disable it in the firmware stage. BUG=b:233720142 TEST=CPUfreq in kernel test pass. Change-Id: Ifd68fe9362587955cdb8598c4cc5c2d0eefe53ca Signed-off-by: Liju-Clr Chen <liju-clr.chen@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69089 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/mediatek/mt8188/include')
-rw-r--r--src/soc/mediatek/mt8188/include/soc/cpu_input_gating.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8188/include/soc/cpu_input_gating.h b/src/soc/mediatek/mt8188/include/soc/cpu_input_gating.h
new file mode 100644
index 0000000000..fe07457d46
--- /dev/null
+++ b/src/soc/mediatek/mt8188/include/soc/cpu_input_gating.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
+
+#ifndef SOC_MEDIATEK_MT8188_CPU_INPUT_GATING_H
+#define SOC_MEDIATEK_MT8188_CPU_INPUT_GATING_H
+
+void disable_cpu_input_gating(void);
+
+#endif /* SOC_MEDIATEK_MT8188_CPU_INPUT_GATING_H */