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 <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Hans de Goede 2016-06-10 21:03:34 +02:00
parent 46fd625dfe
commit da70b4d141
1 changed files with 5 additions and 0 deletions

View File

@ -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;