Hi Masahiro, On 16 July 2017 at 22:08, Masahiro Yamada <yamada.masah...@socionext.com> wrote: > Current puts() and putc() have similar #ifdef / if() conditionals. > Make puts() iterate over putc() to avoid code duplication. > > Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> > --- > > common/console.c | 44 ++------------------------------------------ > 1 file changed, 2 insertions(+), 42 deletions(-)
This is here I think because having the conditions outside the loop is faster. But perhaps it makes not difference really. Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot