aboutsummaryrefslogtreecommitdiff
path: root/plat/juno/platform.h
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2014-05-01 14:53:06 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2014-06-04 15:37:36 +0100
commitd3c10e6c4471a276e784b88e2c4c0e563753ba4f (patch)
tree3131e5258c98abcea9f6c6d2954dec819ebd3260 /plat/juno/platform.h
parent2b80760dbe6e6717bfcf1bd7d0d842d096a4cc72 (diff)
juno: Fix build further to changes on UP/MP stacks
These changes are necessary because of commit 2bf28e620a6. Change-Id: I3e42e97638fe895c885bcbf44392a899284956f8
Diffstat (limited to 'plat/juno/platform.h')
-rw-r--r--plat/juno/platform.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/plat/juno/platform.h b/plat/juno/platform.h
index fcf63b7..aa46366 100644
--- a/plat/juno/platform.h
+++ b/plat/juno/platform.h
@@ -47,7 +47,16 @@
/*******************************************************************************
* Generic platform constants
******************************************************************************/
-#define PLATFORM_STACK_SIZE 0x800
+
+/* Size of cacheable stacks */
+#define PLATFORM_STACK_SIZE 0x800
+
+/* Size of coherent stacks for debug and release builds */
+#if DEBUG
+#define PCPU_DV_MEM_STACK_SIZE 0x400
+#else
+#define PCPU_DV_MEM_STACK_SIZE 0x300
+#endif
#define FIRMWARE_WELCOME_STR "Booting trusted firmware boot loader stage 1\n\r"