[U-Boot] [PATCH] mips: bmips: increment SYS_MALLOC_F_LEN

Álvaro Fernández Rojas noltari at gmail.com
Sat Jan 20 10:45:39 UTC 2018


This prevents the following ENOMEM:
Error binding driver 'bmips_cpu': -12

Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 arch/mips/mach-bmips/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/mips/mach-bmips/Kconfig b/arch/mips/mach-bmips/Kconfig
index e3e1da3c28..db8b40523a 100644
--- a/arch/mips/mach-bmips/Kconfig
+++ b/arch/mips/mach-bmips/Kconfig
@@ -1,6 +1,9 @@
 menu "Broadcom MIPS platforms"
 	depends on ARCH_BMIPS
 
+config SYS_MALLOC_F_LEN
+	default 0x1000
+
 config SYS_SOC
 	default "bcm3380" if SOC_BMIPS_BCM3380
 	default "bcm6328" if SOC_BMIPS_BCM6328
-- 
2.11.0



More information about the U-Boot mailing list