diff options
author | Achin Gupta <achin.gupta@arm.com> | 2014-02-02 13:04:00 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-02-17 18:51:44 +0000 |
commit | ca823d2c881d9d8c7db364de7e362d2e75ad55df (patch) | |
tree | 05d21e2ae93bbe8c165969206959fab43aaac5c4 | |
parent | caa84939a4d8b1189dea8619ccc57bdb3026b125 (diff) | |
download | arm-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
-rw-r--r-- | plat/common/aarch64/platform_helpers.S | 9 |
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 |