Re: [U-Boot] [PATCH 2/2] console: simplify puts()

2017-07-27 Thread Simon Glass
Hi Masahiro, On 16 July 2017 at 22:08, Masahiro Yamada wrote: > Current puts() and putc() have similar #ifdef / if() conditionals. > Make puts() iterate over putc() to avoid code duplication. > > Signed-off-by: Masahiro Yamada > --- > > common/console.c | 44 ++--

[U-Boot] [PATCH 2/2] console: simplify puts()

2017-07-16 Thread Masahiro Yamada
Current puts() and putc() have similar #ifdef / if() conditionals. Make puts() iterate over putc() to avoid code duplication. Signed-off-by: Masahiro Yamada --- common/console.c | 44 ++-- 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/com