]> git.sur5r.net Git - u-boot/commit
generic-board: show model name in board_init_f() too
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 14 Jan 2015 08:07:05 +0000 (17:07 +0900)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:09:49 +0000 (17:09 -0700)
commit0365ffcc0bd6335afb0c866423f3fe401b28ffaa
treeccb6a17bfe475d5238b50169004ec745dc1b84f8
parent5468461d1ea05ff99cf206939293480cc86fd2ec
generic-board: show model name in board_init_f() too

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@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/Makefile
common/board_f.c
common/board_info.c [new file with mode: 0644]
common/board_r.c
include/common.h