summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-08-30 18:50:36 +0900
committerTom Rini <trini@konsulko.com>2016-09-07 08:48:58 -0400
commit90c08d9e08c7a108ab904f3bbdeb558081757892 (patch)
tree37e7ef7eafa926a79c3bfeb100e6eaf4213d45f3 /Kconfig
parent1544698816a32284947322d0f0fe1478a9b65ad3 (diff)
downloadu-boot-imx-90c08d9e08c7a108ab904f3bbdeb558081757892.zip
u-boot-imx-90c08d9e08c7a108ab904f3bbdeb558081757892.tar.gz
u-boot-imx-90c08d9e08c7a108ab904f3bbdeb558081757892.tar.bz2
Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL
If both SPL_DM and SPL_OF_CONTROL are enabled, SPL needs to bind several devices, but CONFIG_SYS_MALLOC_F_LEN=0x400 is apparently not enough. Increase the default to 0x2000 for the case. This will be helpful for shorter defconfigs. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 45a0669..fdea71e 100644
--- a/Kconfig
+++ b/Kconfig
@@ -83,6 +83,7 @@ config SYS_MALLOC_F
config SYS_MALLOC_F_LEN
hex "Size of malloc() pool before relocation"
depends on SYS_MALLOC_F
+ default 0x2000 if SPL_DM && SPL_OF_CONTROL
default 0x400
help
Before relocation, memory is very limited on many platforms. Still,