summaryrefslogtreecommitdiff
path: root/plat/xilinx/zynqmp
diff options
context:
space:
mode:
authorAkshay Belsare <akshay.belsare@amd.com>2023-04-06 16:21:06 +0530
committerMichal Šimek <monstr@monstr.eu>2023-04-11 15:10:23 +0100
commit57536653e62765f9529d045b118ad881369bc73a (patch)
tree996aa9393e70a048475e8301e07321660f7e229f /plat/xilinx/zynqmp
parent07c594c5183d32563efcc87dd79824ffc217a180 (diff)
downloadarm-trusted-firmware-57536653e62765f9529d045b118ad881369bc73a.tar.gz
feat(zynqmp): make stack size configurable
If PLATFORM_STACK_SIZE not already defined, use the default value of PLATFORM_STACK_SIZE. This makes the stack size value configurable for different interface like custom packages. Signed-off-by: Amit Nagal <amit.nagal@amd.com> Signed-off-by: Akshay Belsare <akshay.belsare@amd.com> Change-Id: I87e9fcbfb4c4092378b1ac0ff8fb6d084495d320
Diffstat (limited to 'plat/xilinx/zynqmp')
-rw-r--r--plat/xilinx/zynqmp/include/platform_def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/xilinx/zynqmp/include/platform_def.h b/plat/xilinx/zynqmp/include/platform_def.h
index aebce304e..fb1130ff7 100644
--- a/plat/xilinx/zynqmp/include/platform_def.h
+++ b/plat/xilinx/zynqmp/include/platform_def.h
@@ -21,7 +21,9 @@
******************************************************************************/
/* Size of cacheable stacks */
+#ifndef PLATFORM_STACK_SIZE
#define PLATFORM_STACK_SIZE 0x440
+#endif
#define PLATFORM_CORE_COUNT U(4)
#define PLAT_NUM_POWER_DOMAINS U(5)