diff --git a/include/configs/hi-common.h b/include/configs/hi-common.h index c46a950..784ba0c 100644 --- a/include/configs/hi-common.h +++ b/include/configs/hi-common.h @@ -52,7 +52,9 @@ #define CONFIG_SYS_HUSH_PARSER 1 #define CONFIG_SYS_PROMPT_HUSH_PS2 " > " +#ifndef CONFIG_SYS_MALLOC_LEN #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 512*1024) +#endif #define CONFIG_CMD_MTDPARTS 1 #define CONFIG_RBTREE 1 #define CONFIG_MTD_DEVICE 1 diff --git a/include/configs/hi3516av200.h b/include/configs/hi3516av200.h index 87d9680..fac5730 100644 --- a/include/configs/hi3516av200.h +++ b/include/configs/hi3516av200.h @@ -101,7 +101,7 @@ #define FMC_TEXT_ADRS (FMC_MEM_BASE) #define MEM_BASE_DDR (DDR_MEM_BASE) -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024) +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2*1024*1024) /* size in bytes reserved for initial data */ #define CONFIG_SYS_GBL_DATA_SIZE 128 diff --git a/include/configs/hi3519v101.h b/include/configs/hi3519v101.h index 978a72d..0b3074b 100644 --- a/include/configs/hi3519v101.h +++ b/include/configs/hi3519v101.h @@ -102,7 +102,7 @@ #define FMC_TEXT_ADRS (FMC_MEM_BASE) #define MEM_BASE_DDR (DDR_MEM_BASE) -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024) +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2*1024*1024) /* size in bytes reserved for initial data */ #define CONFIG_SYS_GBL_DATA_SIZE 128