projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46fd625
)
tinyprintf: Add vprintf implementation
author
Hans de Goede
<hdegoede@redhat.com>
Fri, 10 Jun 2016 19:03:34 +0000
(21:03 +0200)
committer
Hans de Goede
<hdegoede@redhat.com>
Mon, 20 Jun 2016 20:43:58 +0000
(22:43 +0200)
vprintf is used by panic() which is used in various SPL paths on some
boards.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/tiny-printf.c
patch
|
blob
|
history
diff --git
a/lib/tiny-printf.c
b/lib/tiny-printf.c
index
3c65fc9
..
451f4f7
100644
(file)
--- a/
lib/tiny-printf.c
+++ b/
lib/tiny-printf.c
@@
-130,6
+130,11
@@
abort:
return 0;
}
+int vprintf(const char *fmt, va_list va)
+{
+ return _vprintf(fmt, va, putc);
+}
+
int printf(const char *fmt, ...)
{
va_list va;