summaryrefslogtreecommitdiff
path: root/config/coreboot/next/patches/0014-src-intel-x4x-Disable-stack-overflow-debug.patch
blob: e2eae2a933021c59f3f2783d30f54e188dd20dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 5671d54d347b110ffade5b8b6e2d052612a8716c Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Mon, 6 Jan 2025 01:53:53 +0000
Subject: [PATCH 1/1] src/intel/x4x: Disable stack overflow debug

Signed-off-by: Leah Rowe <leah@libreboot.org>
---
 src/northbridge/intel/x4x/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/northbridge/intel/x4x/Kconfig b/src/northbridge/intel/x4x/Kconfig
index 097e11126c..7e4e14cf94 100644
--- a/src/northbridge/intel/x4x/Kconfig
+++ b/src/northbridge/intel/x4x/Kconfig
@@ -28,6 +28,15 @@ config ECAM_MMCONF_BUS_NUMBER
 	int
 	default 256
 
+# Override DEBUG Kconfig to avoid false alarm about stack overflow.
+config DEBUG_STACK_OVERFLOW_BREAKPOINTS
+	bool
+	default n
+
+config DEBUG_STACK_OVERFLOW_BREAKPOINTS_IN_ALL_STAGES
+	bool
+	default n
+
 # This number must be equal or lower than what's reported in ACPI PCI _CRS
 config DOMAIN_RESOURCE_32BIT_LIMIT
 	default 0xfec00000
-- 
2.39.5