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 <s...@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! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot