[U-Boot] [PATCH v2] generic-board: show model name in board_init_f() too
Simon Glass
sjg at chromium.org
Thu Jan 15 00:05:27 CET 2015
On 14 January 2015 at 01:07, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> The common/board_r.c has show_model_r() to display the model name
> if the DTB has a "model" property. It sounds useful to have a similar
> function in common/board_f.c too because most of the boards show
> their board name before relocation.
>
> Instead of implementing the same function in both common/board_f.c
> and common/board_r.c, let's split it up into common/show_board_info.c.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - include <libfdt.h> from common/board_info.c to fix warnings
>
> common/Makefile | 2 ++
> common/board_f.c | 2 +-
> common/board_info.c | 35 +++++++++++++++++++++++++++++++++++
> common/board_r.c | 18 +-----------------
> include/common.h | 13 +++++++------
> 5 files changed, 46 insertions(+), 24 deletions(-)
> create mode 100644 common/board_info.c
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list