console: Simplify vtxprintf

We do not need ROMCC support here and using wrappers for
console_tx_byte we can simplify this code.

Change-Id: I7f3b5acdfd0bde1d832b16418339dd5e232627e7
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5334
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Kyösti Mälkki
2014-02-04 14:28:17 +02:00
committed by Patrick Georgi
parent 657e0be464
commit b04e0fff7d
5 changed files with 20 additions and 42 deletions

View File

@@ -34,10 +34,7 @@ typedef __builtin_va_list va_list;
#include <stdarg.h>
#endif
int vtxprintf(void (*tx_byte)(unsigned char byte), const char *fmt, va_list args);
#if !defined (__ROMCC__) && !defined (__SMM__)
int vtxdprintf(void (*tx_byte)(unsigned char byte, void *data), const char *fmt, va_list args, void *data);
#endif
int vtxprintf(void (*tx_byte)(unsigned char byte, void *data),
const char *fmt, va_list args, void *data);
#endif