summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0036-src-intel-x4x-Disable-stack-overflow-debug.patch
blob: 2e06ad79767538fca6ac7c1311534b14b7f135ad (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 8dcd86c34d92b9b17bcfe4c7c61793042dc97268 Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Mon, 6 Jan 2025 01:53:53 +0000
Subject: [PATCH 36/37] 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 1803ef5733..7129aabf72 100644
--- a/src/northbridge/intel/x4x/Kconfig
+++ b/src/northbridge/intel/x4x/Kconfig
@@ -32,6 +32,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