From: Andreas Bießmann <andreas.devel@googlemail.com>
Date: Mon, 29 Oct 2012 13:58:55 +0000 (+0000)
Subject: mv-common.h: increase malloc arena to 4MiB
X-Git-Tag: v2025.01-rc5-pxa1908~16614^2~12^2
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=bfbfab94fd0b38ca780e6dda99657b0c848c9bb9;p=u-boot.git

mv-common.h: increase malloc arena to 4MiB

This will fix the following error:

---8<---
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:root' errno=-12!
--->8---

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: prafulla@marvell.com
Cc: dimax.main@gmail.com
Tested-by: Alex Xol <dimax.main@gmail.com>
---

diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
index 7086d1d0e8..405a842f72 100644
--- a/include/configs/mv-common.h
+++ b/include/configs/mv-common.h
@@ -92,7 +92,7 @@
 /*
  * Size of malloc() pool
  */
-#define CONFIG_SYS_MALLOC_LEN	(1024 * 1024) /* 1MiB for malloc() */
+#define CONFIG_SYS_MALLOC_LEN	(1024 * 1024 * 4) /* 4MiB for malloc() */
 
 /*
  * Other required minimal configurations