summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rauru
diff options
context:
space:
mode:
authorRunyang Chen <runyang.chen@mediatek.corp-partner.google.com>2024-10-26 15:31:36 +0800
committerYu-Ping Wu <yupingso@google.com>2024-11-06 04:00:26 +0000
commit379729b497746da7bdd9d207bc4903bdb4053046 (patch)
tree6699a892dec3bb3114e46bb58af6f787a80e9e44 /src/mainboard/google/rauru
parentba0ac93452abd3db34bdfc9dd144ea51199d3d19 (diff)
soc/mediatek/mt8196: Disable irq2axi feature
Irq2axi translates wire-based interrupt into message signal interrupt. Since MT8196 uses legacy wire-based interrupt, this feature needs to be disabled. If the interrupt is not handled, it will cause the system fail to boot. TEST=Build pass, check irq2axi_disable log and the interrupt can be correctly handled by checking /proc/interrupts. BUG=b:317009620 Signed-off-by: Runyang Chen <runyang.chen@mediatek.corp-partner.google.com> Change-Id: I0e89a0ee75e574a4b9e8df0a0f6a5f6e03bba2d6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84896 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rauru')
-rw-r--r--src/mainboard/google/rauru/romstage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/rauru/romstage.c b/src/mainboard/google/rauru/romstage.c
index 7ee8759f75..98e8cd9dba 100644
--- a/src/mainboard/google/rauru/romstage.c
+++ b/src/mainboard/google/rauru/romstage.c
@@ -1,11 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/stages.h>
+#include <soc/irq2axi.h>
#include <soc/pcie.h>
void platform_romstage_main(void)
{
- /* TODO: add romstage main function */
+ irq2axi_disable();
if (CONFIG(PCI))
mtk_pcie_deassert_perst();