diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-14 08:07:05 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-30 00:09:49 (GMT) |
commit | 0365ffcc0bd6335afb0c866423f3fe401b28ffaa (patch) | |
tree | ccb6a17bfe475d5238b50169004ec745dc1b84f8 /common/Makefile | |
parent | 5468461d1ea05ff99cf206939293480cc86fd2ec (diff) | |
download | u-boot-0365ffcc0bd6335afb0c866423f3fe401b28ffaa.tar.xz |
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>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index 94554f2..9579ab4 100644 --- a/common/Makefile +++ b/common/Makefile @@ -27,6 +27,8 @@ endif # boards obj-$(CONFIG_SYS_GENERIC_BOARD) += board_f.o obj-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o +obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o +obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o # core command obj-y += cmd_boot.o |