config: rpi: Increase malloc buffer size
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 13 Feb 2020 08:50:54 +0000 (09:50 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:48 +0000 (15:13 +0900)
GENET ethernet driver and THORdown consume more memory than the default
4M, so increase the malloc buffer size to 16M to let them work together.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I1c4d386761699fcb72b1a76d90d50518554a2980

include/configs/rpi.h

index b7c1ef72d17366ee2fd3f4a176f2f38734f9044d..fdc91182e4bc80d978719863bb89db222895edb3 100644 (file)
@@ -60,7 +60,7 @@
 #define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_SDRAM_BASE + \
                                         CONFIG_SYS_SDRAM_SIZE - \
                                         GENERATED_GBL_DATA_SIZE)
-#define CONFIG_SYS_MALLOC_LEN          SZ_4M
+#define CONFIG_SYS_MALLOC_LEN          SZ_16M
 #define CONFIG_LOADADDR                        0x00200000
 
 #ifdef CONFIG_ARM64