commit | f25fe395757046e463bea6bfe5f82ecf15a6a23c | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Mon Jul 17 13:08:32 2017 +0900 |
committer | Simon Glass <sjg@chromium.org> | Fri Jul 28 12:02:47 2017 -0600 |
tree | 1b0b56f463a447ac097305b2be4462923c20dda2 | |
parent | 9488451887fbab60e3de933aed4c2bab3a4519b3 [diff] |
console: simplify puts() Current puts() and putc() have similar #ifdef / if() conditionals. Make puts() iterate over putc() to avoid code duplication. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>