From b04e0fff7da5547e2152dc8f6f23af247e9048ec Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 4 Feb 2014 14:28:17 +0200 Subject: console: Simplify vtxprintf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/5334 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/include/console/console.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/console/console.h') diff --git a/src/include/console/console.h b/src/include/console/console.h index c184f83e20..e19abec831 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -75,6 +75,7 @@ static inline void do_putchar(unsigned char byte) {} int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf, 2, 3))); void do_putchar(unsigned char byte); +void wrap_putchar(unsigned char byte, void *data); #define printk(LEVEL, fmt, args...) \ do { \ -- cgit v1.2.3