|
@@ -728,6 +728,8 @@ ulong spl_relocate_stack_gd(void)
|
|
|
|
|
|
#if defined(CONFIG_SPL_SYS_MALLOC_SIMPLE) && CONFIG_VAL(SYS_MALLOC_F_LEN)
|
|
|
if (CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN) {
|
|
|
+ debug("SPL malloc() before relocation used 0x%lx bytes (%ld KB)\n",
|
|
|
+ gd->malloc_ptr, gd->malloc_ptr / 1024);
|
|
|
ptr -= CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN;
|
|
|
gd->malloc_base = ptr;
|
|
|
gd->malloc_limit = CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN;
|