From: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 2/2] dlmalloc: be compatible to tiny printf
Date: Mon, 1 Apr 2019 22:01:50 +0200 [thread overview]
Message-ID: <20190401200150.1630-3-simon.k.r.goldschmidt@gmail.com> (raw)
In-Reply-To: <20190401200150.1630-1-simon.k.r.goldschmidt@gmail.com>
Convert debug output from '%#lx' to '0x%lx' to be compatible with tiny
printf used in SPL.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
---
Changes in v4:
- dumped clearing BSS before SPL board_init_f, only real bugfixes remain
Changes in v3:
- fixed summary ("stack" -> "heap")
- enable CONFIG_SPL_CLEAR_BSS_F for socfpga_arria10 using full malloc
early in SPL
- rebased
common/dlmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/dlmalloc.c b/common/dlmalloc.c
index 51d3bd671a..af6f43dcc9 100644
--- a/common/dlmalloc.c
+++ b/common/dlmalloc.c
@@ -608,7 +608,7 @@ void mem_malloc_init(ulong start, ulong size)
mem_malloc_end--;
}
- debug("using memory %#lx-%#lx for malloc()\n", mem_malloc_start,
+ debug("using memory 0x%lx-0x%lx for malloc()\n", mem_malloc_start,
mem_malloc_end);
#ifdef CONFIG_SYS_MALLOC_CLEAR_ON_INIT
memset((void *)mem_malloc_start, 0x0, size);
--
2.17.1
next prev parent reply other threads:[~2019-04-01 20:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 20:01 [U-Boot] [PATCH v4 0/2] spl: full-featured heap cleanups Simon Goldschmidt
2019-04-01 20:01 ` [U-Boot] [PATCH v4 1/2] dlmalloc: fix malloc range at end of ram Simon Goldschmidt
2019-04-24 3:54 ` Simon Glass
2019-04-24 11:26 ` Tom Rini
2019-04-24 11:49 ` Simon Goldschmidt
2019-04-24 11:52 ` Tom Rini
2019-04-24 23:58 ` Simon Glass
2019-04-25 7:32 ` Simon Goldschmidt
2019-04-25 10:50 ` Tom Rini
2019-04-25 19:24 ` Simon Goldschmidt
2019-04-29 13:06 ` Heiko Schocher
2019-04-29 13:16 ` Simon Goldschmidt
2019-04-29 13:20 ` Tom Rini
2019-04-29 13:19 ` Tom Rini
2019-04-29 15:53 ` Simon Glass
2019-04-01 20:01 ` Simon Goldschmidt [this message]
2019-04-24 3:54 ` [U-Boot] [PATCH v4 2/2] dlmalloc: be compatible to tiny printf Simon Glass
2019-04-24 13:31 ` [U-Boot] [U-Boot, v4, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190401200150.1630-3-simon.k.r.goldschmidt@gmail.com \
--to=simon.k.r.goldschmidt@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox