]> Git Repo - J-u-boot.git/commitdiff
tinyprintf: Add vprintf implementation
authorHans de Goede <[email protected]>
Fri, 10 Jun 2016 19:03:34 +0000 (21:03 +0200)
committerHans de Goede <[email protected]>
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 <[email protected]>
Acked-by: Ian Campbell <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
lib/tiny-printf.c

index 3c65fc90bf233bdfe0d5ffd1b77e8a4842a5de4d..451f4f7a673d74e8ae93cee83f0c7c5a690a193e 100644 (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;
This page took 0.033179 seconds and 4 git commands to generate.