tiny-printf: Always print zeroes
authorSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2016 16:30:57 +0000 (09:30 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:06:22 +0000 (19:06 -0700)
commit74b1320ae535b9dfe6fb7a86e05a8787e503f59c
tree55d356417d5a0e3f8f1b3823914306d78f71092d
parent5589a8182957054f8ac4ec3d91492710e718e44d
tiny-printf: Always print zeroes

At present this does not print zero values in numeric format (hex and
decimal). Add a special case for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
lib/tiny-printf.c