From: Valentin Longchamp Date: Wed, 28 Aug 2013 16:04:19 +0200 Subject: [U-Boot] [PATCH v2 01/11] km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h In-Reply-To: <1377698669-6149-1-git-send-email-valentin.longchamp@keymile.com> References: <1377698669-6149-1-git-send-email-valentin.longchamp@keymile.com> Message-ID: <1377698669-6149-2-git-send-email-valentin.longchamp@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de It can be set to a different value for kmp204x, because we are restricted to SRAM. Signed-off-by: Valentin Longchamp --- Changes in v2: None include/configs/km/keymile-common.h | 2 -- include/configs/km/km83xx-common.h | 2 ++ include/configs/km82xx.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index 3b15c4e..ab4e2f8 100644 --- a/include/configs/km/keymile-common.h +++ b/include/configs/km/keymile-common.h @@ -98,8 +98,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 diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h index eb0e5b6..cdfa83a 100644 --- a/include/configs/km/km83xx-common.h +++ b/include/configs/km/km83xx-common.h @@ -80,6 +80,8 @@ /* Reserve 768 kB for Mon */ #define CONFIG_SYS_MONITOR_LEN (768 * 1024) +/* Reserve 4 MB for malloc */ +#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024) /* * Initial RAM Base Address Setup diff --git a/include/configs/km82xx.h b/include/configs/km82xx.h index 3c2117f..ae36768 100644 --- a/include/configs/km82xx.h +++ b/include/configs/km82xx.h @@ -225,6 +225,7 @@ #define CONFIG_SYS_RAMBOOT #endif +#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024) #define CONFIG_SYS_MONITOR_LEN (768 << 10) #define CONFIG_ENV_IS_IN_FLASH -- 1.8.0.1