From 90c08d9e08c7a108ab904f3bbdeb558081757892 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 30 Aug 2016 18:50:36 +0900 Subject: 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 Reviewed-by: Stefan Roese Reviewed-by: Simon Glass --- Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'Kconfig') diff --git a/Kconfig b/Kconfig index 45a06696a1..fdea71efaa 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, -- cgit v1.2.3