generic-board: allow showing custom board info
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 5 Aug 2015 15:17:00 +0000 (17:17 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 11:19:36 +0000 (07:19 -0400)
commita9ad18c9d5fe2554753b0f9a52adfd5ebce61147
tree88c33a82ebcd2a4fe038352730de67145e0b06d9
parent7a3e70cfd88cc8062a106ed07bade5a38f146758
generic-board: allow showing custom board info

Allow showing custom board info from a checkboard() function being
implemented if CONFIG_CUSTOM_BOARDINFO is specified.  Previously the
device tree model was always displayed not taking any
CONFIG_CUSTOM_BOARDINFO into account.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/board_info.c