]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 18 Oct 2013 09:47:15 +0000 (11:47 +0200)
committerYork Sun <yorksun@freescale.com>
Thu, 24 Oct 2013 16:35:22 +0000 (09:35 -0700)
It must be set to a different value for the later add kmp204x
architecture, because we are restricted to 1MB SRAM.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
include/configs/km/keymile-common.h
include/configs/km/km-powerpc.h
include/configs/km/km_arm.h

index 91ca480f48de5d850955f2531941b1c50db72eca..a30c050ba707ce8f8c227a205c86025302be1330 100644 (file)
@@ -80,8 +80,6 @@
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-#define CONFIG_SYS_MALLOC_LEN          (4 * 1024 * 1024)
-
 /* UBI Support for all Keymile boards */
 #define CONFIG_CMD_UBI
 #define CONFIG_RBTREE
index 8ee0ac6dbfaa00d7f4feb4aa7d3a6e0d0d625d98..15fef24db090440561dd195caa7d7ad043857ee1 100644 (file)
@@ -32,6 +32,9 @@
 
 #define CONFIG_SYS_LOAD_ADDR   0x100000        /* default load address */
 
+/* Reserve 4 MB for malloc */
+#define CONFIG_SYS_MALLOC_LEN          (4 * 1024 * 1024)
+
 /******************************************************************************
  * (PRAM usage)
  * ... -------------------------------------------------------
index e0368cb894a3be098f598a3662e80b7c36aba2af..75b625090120d6e10520ea572bbb4a278f66ed31 100644 (file)
@@ -54,6 +54,9 @@
 #define CONFIG_ENV_SPI_MODE            SPI_MODE_3
 #endif
 
+/* Reserve 4 MB for malloc */
+#define CONFIG_SYS_MALLOC_LEN          (4 * 1024 * 1024)
+
 #include "asm/arch/config.h"
 
 #define CONFIG_SYS_TEXT_BASE   0x07d00000      /* code address before reloc */