diff options
Diffstat (limited to 'common/init/board_init.c')
-rw-r--r-- | common/init/board_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/init/board_init.c b/common/init/board_init.c index e74b63b8a8..1c6126d8ce 100644 --- a/common/init/board_init.c +++ b/common/init/board_init.c @@ -50,8 +50,7 @@ ulong board_init_f_mem(ulong top) #endif arch_setup_gd(gd_ptr); -#if defined(CONFIG_SYS_MALLOC_F) && \ - (!defined(CONFIG_SPL_BUILD) || !defined(CONFIG_SYS_SPL_MALLOC_START)) +#if defined(CONFIG_SYS_MALLOC_F) top -= CONFIG_SYS_MALLOC_F_LEN; gd->malloc_base = top; #endif |