From 6baa261615d3e3e05e2967120b6c329634791530 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sat, 26 Mar 2016 13:30:49 -0300 Subject: mx7_common: Define CONFIG_SYS_MALLOC_LEN in the board file Having CONFIG_SYS_MALLOC_LEN in mx7_common.h is not a good idea, because the malloc() pool size is board dependent. For example: if a certain board has support for splashscreen or DFU, it may be necessary to adjust CONFIG_SYS_MALLOC_LEN to a larger value. So define CONFIG_SYS_MALLOC_LEN in each board config file. Signed-off-by: Fabio Estevam --- include/configs/mx7_common.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/configs/mx7_common.h') diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index 5034464..9bd6114 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -28,9 +28,6 @@ /* Enable iomux-lpsr support */ #define CONFIG_IOMUX_LPSR -/* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M) - #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO -- cgit v1.1