summaryrefslogtreecommitdiff
path: root/plat/imx/imx8mq
diff options
context:
space:
mode:
authorBai Ping <ping.bai@nxp.com>2017-11-10 16:10:13 +0800
committerAbel Vesa <abel.vesa@nxp.com>2018-06-11 10:08:40 +0300
commit3564bced7454907df5f52df741cde040b845656b (patch)
tree6fcb9d17c79a1448a8f3b99140151ebb4f914d3f /plat/imx/imx8mq
parent16e7edea57819a2802a528135b1d8f56a2e85bbd (diff)
plat: imx8mq: fix the stack overflow issue on imx8mq
the previous stack size is small, the stack will very easy to overflow, then lead to ATF not work. So increase the stack size to fix this issue. Signed-off-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/imx8mq')
-rw-r--r--plat/imx/imx8mq/include/platform_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/imx/imx8mq/include/platform_def.h b/plat/imx/imx8mq/include/platform_def.h
index 1021fd25..30fcf5a3 100644
--- a/plat/imx/imx8mq/include/platform_def.h
+++ b/plat/imx/imx8mq/include/platform_def.h
@@ -1,7 +1,7 @@
#define PLATFORM_LINKER_FORMAT "elf64-littleaarch64"
#define PLATFORM_LINKER_ARCH aarch64
-#define PLATFORM_STACK_SIZE 0X400
+#define PLATFORM_STACK_SIZE 0x800
#define CACHE_WRITEBACK_GRANULE 64
#define PLAT_PRIMARY_CPU 0x0