mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Sorry for breaking the code here. Changing it back
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@222 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
9485c81699
commit
4f9c2185ae
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ static int console_loglevel(void)
|
|||
return CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
|
||||
}
|
||||
|
||||
void console_tx_byte(unsigned char byte)
|
||||
void console_tx_byte(unsigned char byte, void *arg)
|
||||
{
|
||||
if (byte == '\n') {
|
||||
uart8250_tx_byte(TTYSx_BASE, '\r');
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <console/loglevel.h>
|
||||
|
||||
void console_init(void);
|
||||
void console_tx_byte(unsigned char byte);
|
||||
void console_tx_byte(unsigned char byte, void *arg);
|
||||
void console_tx_flush(void);
|
||||
unsigned char console_rx_byte(void);
|
||||
int console_tst_byte(void);
|
||||
|
@ -30,7 +30,7 @@ void die(const char *msg);
|
|||
|
||||
struct console_driver {
|
||||
void (*init)(void);
|
||||
void (*tx_byte)(unsigned char byte);
|
||||
void (*tx_byte)(unsigned char byte, void *arg);
|
||||
void (*tx_flush)(void);
|
||||
unsigned char (*rx_byte)(void);
|
||||
int (*tst_byte)(void);
|
||||
|
|
Loading…
Add table
Reference in a new issue