[PATCH 20/36] bdinfo: sh: arc: Drop arch-specific print_bi_mem()

Bin Meng bmeng.cn at gmail.com
Wed May 6 10:09:26 CEST 2020


On Tue, May 5, 2020 at 7:19 AM Simon Glass <sjg at chromium.org> wrote:
>
> It isn't worth having arch-specific code for such minor output
> differences. In fact it is better if all archs are consistent.
>
> Drop the arch-specific code in print_bi_mem() and inline it to avoid a
> two-line function.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  cmd/bdinfo.c | 17 ++---------------
>  1 file changed, 2 insertions(+), 15 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list