mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-02 07:31:11 +01:00
debug_uart: Remove duplicated carriage return handling
Since commit b391d74 "debug_uart: output CR along with LF", the
handling in puts() is duplicated, not to mention that it should
output carriage return before line feed.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
075bb5c6ea
commit
ce1a7d1564
1 changed files with 0 additions and 2 deletions
|
|
@ -515,8 +515,6 @@ void puts(const char *s)
|
|||
int ch = *s++;
|
||||
|
||||
printch(ch);
|
||||
if (ch == '\n')
|
||||
printch('\r');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue