summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2018-07-20 15:11:38 +0530
committerMichal Simek <michal.simek@xilinx.com>2018-08-06 08:44:35 +0200
commit01aa5b8f050309524fc52544a2f7ce9ef0833917 (patch)
tree4cf7457dfbed20f1ed9044c56ae95a059ad05bdd /Kconfig
parentd9961fa2a232a9f28270033de72299fca48120c0 (diff)
downloadu-boot-01aa5b8f050309524fc52544a2f7ce9ef0833917.tar.gz
Kconfig: Move config SYS_MALLOC_LEN to Kconfig for zynq
This patch moves the the config SYS_MALLOC_LEN to Kconfig. It will be just for Zynq arch and to do will be for all other archs. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 7dc7798df4..db0f545e45 100644
--- a/Kconfig
+++ b/Kconfig
@@ -136,6 +136,13 @@ config SYS_MALLOC_F_LEN
particular needs this to operate, so that it can allocate the
initial serial device and any others that are needed.
+config SYS_MALLOC_LEN
+ hex "Define memory for Dynamic allocation"
+ depends on ARCH_ZYNQ
+ help
+ This defines memory to be allocated for Dynamic allocation
+ TODO: Use for other architectures
+
config SPL_SYS_MALLOC_F_LEN
hex "Size of malloc() pool in SPL before relocation"
depends on SYS_MALLOC_F