From: Marcel Ziswiler Date: Wed, 16 Nov 2016 16:49:20 +0000 (+0100) Subject: generic-board: make show_board_info a weak function X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=f7637cc01414b9c87b6b0f861f34d83c19bfaaaf;p=u-boot.git 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 Reviewed-by: Tom Rini Acked-by: Max Krummenacher --- diff --git a/common/board_info.c b/common/board_info.c index 6afe98edee..aa45e24b34 100644 --- a/common/board_info.c +++ b/common/board_info.c @@ -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;