From d2264d4c7599de94060dc1dfa7dcbf6e2cf2d83e Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Thu, 13 Feb 2020 09:50:54 +0100 Subject: [PATCH] config: rpi: Increase malloc buffer size 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 Change-Id: I1c4d386761699fcb72b1a76d90d50518554a2980 --- include/configs/rpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rpi.h b/include/configs/rpi.h index aa6be35..f88ab2d 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -57,7 +57,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_SYS_MEMTEST_START 0x00100000 #define CONFIG_SYS_MEMTEST_END 0x00200000 #define CONFIG_LOADADDR 0x00200000 -- 2.7.4