git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1070f01
)
console: Use printascii for lowlevel debug string
author
Kever Yang
<kever.yang@rock-chips.com>
Fri, 8 Nov 2024 08:36:23 +0000
(16:36 +0800)
committer
Tom Rini
<trini@konsulko.com>
Sun, 17 Nov 2024 19:14:09 +0000
(13:14 -0600)
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>
common/console.c
patch
|
blob
|
history
diff --git
a/common/console.c
b/common/console.c
index
2222470
..
863ac6a
100644
(file)
--- a/
common/console.c
+++ b/
common/console.c
@@
-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;
}