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>
diff --git a/common/console.c b/common/console.c
index 6a0d11b..12293f3 100644
--- a/common/console.c
+++ b/common/console.c
@@ -515,8 +515,6 @@
int ch = *s++;
printch(ch);
- if (ch == '\n')
- printch('\r');
}
return;
}