diff options
author | Heiko Schocher <hs@denx.de> | 2010-09-17 11:10:34 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-19 17:29:52 (GMT) |
commit | 3fbeeea63334f7a69406be7c05185f4bf45da8d8 (patch) | |
tree | aae31756e046a1d08a7c794d42b411bcb79349f0 /arch/powerpc | |
parent | 620f1f6a64095ed558e68d37f1965d015cd49b02 (diff) | |
download | u-boot-fsl-qoriq-3fbeeea63334f7a69406be7c05185f4bf45da8d8.tar.xz |
common: move TOTAL_MALLOC_LEN to include/common.h
Portions of this work were supported by funding from
the CE Linux Forum.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/lib/board.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index 80c1efc..94348e6 100644 --- a/arch/powerpc/lib/board.c +++ b/arch/powerpc/lib/board.c @@ -118,16 +118,6 @@ extern int board_start_ide(void); DECLARE_GLOBAL_DATA_PTR; -#if defined(CONFIG_ENV_IS_EMBEDDED) -#define TOTAL_MALLOC_LEN CONFIG_SYS_MALLOC_LEN -#elif ( ((CONFIG_ENV_ADDR+CONFIG_ENV_SIZE) < CONFIG_SYS_MONITOR_BASE) || \ - (CONFIG_ENV_ADDR >= (CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)) ) || \ - defined(CONFIG_ENV_IS_IN_NVRAM) -#define TOTAL_MALLOC_LEN (CONFIG_SYS_MALLOC_LEN + CONFIG_ENV_SIZE) -#else -#define TOTAL_MALLOC_LEN CONFIG_SYS_MALLOC_LEN -#endif - #if !defined(CONFIG_SYS_MEM_TOP_HIDE) #define CONFIG_SYS_MEM_TOP_HIDE 0 #endif |