mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
console: Use printascii for lowlevel debug string
The lowlevel debug with CONFIG_DEBUG_UART has printascii for string print, and no need to convert to use printch now. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
This commit is contained in:
parent
1070f01ac1
commit
4cc94e898a
1 changed files with 1 additions and 5 deletions
|
@ -745,11 +745,7 @@ void puts(const char *s)
|
|||
}
|
||||
|
||||
if (IS_ENABLED(CONFIG_DEBUG_UART) && !(gd->flags & GD_FLG_SERIAL_READY)) {
|
||||
while (*s) {
|
||||
int ch = *s++;
|
||||
|
||||
printch(ch);
|
||||
}
|
||||
printascii(s);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue