diff options
| author | Simon Glass <[email protected]> | 2025-01-26 11:43:15 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-02-03 16:00:42 -0600 |
| commit | b0407ace97d4961c09b7f5784527751a390a7044 (patch) | |
| tree | 5180331d0359dc07a6c0d4cdc1205e30b2f872a2 | |
| parent | 5929c2f39f557940a49d2852f95ade939358b705 (diff) | |
spl: Adjust debugging and xPL symbols
The size of some malloc() fields has reduced on 64-bit machines, but
the spl_reloc code was not updated. Fix this to avoid a compiler
warning.
Also update for the new xPL naming.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
| -rw-r--r-- | common/spl/spl_reloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_reloc.c b/common/spl/spl_reloc.c index be8349b535b..324b98eaf98 100644 --- a/common/spl/spl_reloc.c +++ b/common/spl/spl_reloc.c @@ -154,7 +154,7 @@ int spl_reloc_jump(struct spl_image_info *image, spl_jump_to_image_t jump) rcode_func loader; int ret; - log_debug("malloc usage %lx bytes (%ld KB of %d KB)\n", gd->malloc_ptr, + log_debug("malloc usage %x bytes (%d KB of %d KB)\n", gd->malloc_ptr, gd->malloc_ptr / 1024, CONFIG_VAL(SYS_MALLOC_F_LEN) / 1024); if (*image->stack_prot != STACK_PROT_VALUE) { |
