mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
serial: sandbox: optimize puts
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ed0fc4b172
commit
5778d54afc
1 changed files with 1 additions and 2 deletions
|
|
@ -44,8 +44,7 @@ void serial_putc(const char ch)
|
|||
|
||||
void serial_puts(const char *str)
|
||||
{
|
||||
while (*str)
|
||||
serial_putc(*str++);
|
||||
os_write(1, str, strlen(str));
|
||||
}
|
||||
|
||||
int serial_getc(void)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue