aboutsummaryrefslogtreecommitdiff
path: root/mk/config.mk
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2016-09-27 11:37:05 -0700
committerJens Wiklander <jens.wiklander@linaro.org>2016-09-27 15:57:58 -0700
commitf5f914aa755a2aa1aa0a5fb93c2d4bb16b7f8fe4 (patch)
tree15189784a8b6852a23c886a335aaf615aa79ddcb /mk/config.mk
parent79a90f9b04ce3c0b9360ca40a3a359d605486592 (diff)
core: Add default CFG_CORE_HEAP_SIZE
Adds a CFG_CORE_HEAP_SIZE replacing the defined HEAP_SIZE in each platform_config.h. Default value is defined in mk/config.mk as 64 kB. This is larger than most of the previous values at 24 kB or just above. Platforms with a previous heap size defined larger than 64 kB overrides the mk/config.mk setting with a $(platform-dir)/conf.mk setting using the previous value. Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (Hikey pager) Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU v7 pager) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP Aarch32 pager) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk/config.mk')
-rw-r--r--mk/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/config.mk b/mk/config.mk
index 424c901e..1c42f89c 100644
--- a/mk/config.mk
+++ b/mk/config.mk
@@ -204,3 +204,6 @@ CFG_BUILT_IN_ARGS ?= n
CFG_PAGEABLE_ADDR ?= 0x0
CFG_NS_ENTRY_ADDR ?=0x0
CFG_DT_ADDR ?= 0x0
+
+# Default heap size for Core, 64 kB
+CFG_CORE_HEAP_SIZE ?= 65536