]> git.ipfire.org Git - people/ms/u-boot.git/commit - common/board_info.c
generic_board: Call "checkboard" even though the root node has a "model" property
authorHaikun.Wang@freescale.com <Haikun.Wang@freescale.com>
Thu, 9 Jul 2015 11:58:03 +0000 (19:58 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:01:59 +0000 (15:01 -0400)
commitdac326b8234f698636d588c5722d3b174a800b1d
tree70118ae7400e863a7833b8252400e00662b5f36e
parent5031ca59b52fce55bb143eb6af3f55e9a5a2d8af
generic_board: Call "checkboard" even though the root node has a "model" property

In case of enable CONFIG_OF_CONTROL and has a "model" property in the root node,
the board special "checkboard" will not be called.
Usually we show some useful version information in the function.
This patch enable call "checkboard" in any case.
It is not conflicting with showing "model" at the same time.

For example on LS2085AQDS:
Showing "model" only:
Model: Freescale Layerscape 2085a QDS Board

Showing "checkboard" only:
Board: LS2085E-QDS, Board Arch: V1, Board version: B, boot from vBank: 4

Showing both:
Model: Freescale Layerscape 2085a QDS Board
Board: LS2085E-QDS, Board Arch: V1, Board version: B, boot from vBank: 4

Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/board_info.c