[U-Boot] [PATCH v2 03/10] tiny-printf: Reorder code to support %p

sjg at google.com sjg at google.com
Tue Oct 29 23:21:26 UTC 2019

With a bit of code reordering we can support %p using the existing code
for ulong.

Move the %p code up and adjust the logic accordingly.

Signed-off-by: Simon Glass <sjg at chromium.org>

Changes in v2:
- Add a new patch to support %p without DEBUG

 lib/tiny-printf.c | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

Applied to u-boot-dm, thanks!

More information about the U-Boot mailing list