diff options
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/serial.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index 5bbf3aeb445..d648a73f411 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/serial.c @@ -273,6 +273,13 @@ void serial_puts(const char *s) get_current()->puts(s); } +void default_serial_puts(const char *s) +{ + struct serial_device *dev = get_current(); + while (*s) + dev->putc(*s++); +} + #if CONFIG_POST & CONFIG_SYS_POST_UART static const int bauds[] = CONFIG_SYS_BAUDRATE_TABLE; |