generic-board: make show_board_info a weak function

Make show_board_info() a weak function which allows for custom board
specific implementations thereof.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
This commit is contained in:
Marcel Ziswiler 2016-11-16 17:49:20 +01:00 committed by Tom Rini
parent 62e7a5c5f8
commit f7637cc014
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ int __weak checkboard(void)
* If the root node of the DTB has a "model" property, show it.
* Then call checkboard().
*/
int show_board_info(void)
int __weak show_board_info(void)
{
#ifdef CONFIG_OF_CONTROL
DECLARE_GLOBAL_DATA_PTR;