nios2: trim CONFIG_SYS_MALLOC_LEN
authorThomas Chou <thomas@wytron.com.tw>
Wed, 4 Nov 2015 05:28:29 +0000 (13:28 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 04:56:46 +0000 (12:56 +0800)
Trim CONFIG_SYS_MALLOC_LEN size, because CONFIG_ENV_SIZE
is included to total memory allocation in common.h,

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Chin Liang See <clsee@altera.com>
include/configs/nios2-generic.h

index 3a559f15fc42c7b6aba9afa7db75c5a31cff32fa..f6871708dcb66cce8bf237cad371923ef88aa037 100644 (file)
@@ -83,7 +83,7 @@
 #define CONFIG_SYS_MONITOR_BASE        (CONFIG_SYS_SDRAM_BASE + \
                                         CONFIG_SYS_SDRAM_SIZE - \
                                         CONFIG_SYS_MONITOR_LEN)
-#define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 0x20000)
+#define CONFIG_SYS_MALLOC_LEN          0x20000
 
 /*
  * MISC