aboutsummaryrefslogtreecommitdiff
path: root/plat/common
diff options
context:
space:
mode:
Diffstat (limited to 'plat/common')
-rw-r--r--plat/common/aarch64/platform_helpers.S9
1 files changed, 6 insertions, 3 deletions
diff --git a/plat/common/aarch64/platform_helpers.S b/plat/common/aarch64/platform_helpers.S
index 3cea9f6..563f198 100644
--- a/plat/common/aarch64/platform_helpers.S
+++ b/plat/common/aarch64/platform_helpers.S
@@ -42,11 +42,14 @@
.weak plat_report_exception
/* -----------------------------------------------------
- * 512 bytes of coherent stack for each cpu
+ * Coherent stack sizes for debug and release builds
* -----------------------------------------------------
*/
-#define PCPU_DV_MEM_STACK_SIZE 0x200
-
+#if DEBUG
+#define PCPU_DV_MEM_STACK_SIZE 0x400
+#else
+#define PCPU_DV_MEM_STACK_SIZE 0x300
+#endif
.section .text, "ax"; .align 3