mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-05 06:11:44 +00:00
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:
parent
46fd625dfe
commit
da70b4d141
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue