From da70b4d14116d2b3d63840cd2ea01d0badf39e41 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 10 Jun 2016 21:03:34 +0200 Subject: tinyprintf: Add vprintf implementation vprintf is used by panic() which is used in various SPL paths on some boards. Signed-off-by: Hans de Goede Acked-by: Ian Campbell Reviewed-by: Simon Glass --- lib/tiny-printf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') 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; -- cgit v1.1