diff options
| author | Tom Rini <[email protected]> | 2019-02-28 14:22:03 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-02-28 14:22:03 -0500 |
| commit | 7869e647a60ae706457bb601a3c2ea51e9fdd413 (patch) | |
| tree | 2e77dd316e2c5899f780ac6cf037117420d7febd /common | |
| parent | 783e66816d101f970b185083377846059d4d577d (diff) | |
| parent | 438dcabb75d6b9b0e7f887befb753d1863f14deb (diff) | |
Merge branch '2019-02-29-master-imports'
- Assorted BSP fixes
- Kbuild fix
Diffstat (limited to 'common')
| -rw-r--r-- | common/spl/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index 2e2af1b28ee..88d4b8a9bf1 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -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; |
