[U-Boot] [PATCH 4/5] tools: moveconfig: simplify show_failed_boards() and show more info

Joe Hershberger joe.hershberger at gmail.com
Mon Jun 20 23:35:19 CEST 2016


On Wed, Jun 15, 2016 at 12:33 AM, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> Since commit 1d085568b3de ("tools: moveconfig: display log atomically
> in more readable format"), the function color_text() is clever enough
> to exclude LF from escape sequences.  Exploit it for removing the
> "for" loops from Slots.show_failed_boards().
>
> Also, display "(the list has been saved in moveconfig.failed)" if
> there are failed boards.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Reviewed-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list