aboutsummaryrefslogtreecommitdiff
path: root/plat/common
diff options
context:
space:
mode:
authorAchin Gupta <achin.gupta@arm.com>2014-02-02 13:04:00 +0000
committerDan Handley <dan.handley@arm.com>2014-02-17 18:51:44 +0000
commitca823d2c881d9d8c7db364de7e362d2e75ad55df (patch)
tree05d21e2ae93bbe8c165969206959fab43aaac5c4 /plat/common
parentcaa84939a4d8b1189dea8619ccc57bdb3026b125 (diff)
downloadarm-trusted-firmware-ca823d2c881d9d8c7db364de7e362d2e75ad55df.tar.gz
Increase coherent stack sizes
This patch increases coherent stack size for both debug and release builds in order to accommodate stack-heavy printf() and extended EL3 functionality Change-Id: I30ef30530a01517a97e63d703873374828c09f20
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