[U-Boot] [PATCH 1/2] tinyprintf: Add vprintf implementation
Hans de Goede
hdegoede at redhat.com
Fri Jun 10 21:04:52 CEST 2016
vprintf is used by panic() which is used in various SPL paths on some
boards.
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
lib/tiny-printf.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c
index 3c65fc9..451f4f7 100644
--- 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;
--
2.7.4
More information about the U-Boot
mailing list