summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-11-16 16:49:20 (GMT)
committerTom Rini <trini@konsulko.com>2016-11-28 20:10:32 (GMT)
commitf7637cc01414b9c87b6b0f861f34d83c19bfaaaf (patch)
tree47e83324e3a960e8c669e2952d6b7f8bcfeb9534
parent62e7a5c5f85c8dd37500571da9607ef68203af12 (diff)
downloadu-boot-f7637cc01414b9c87b6b0f861f34d83c19bfaaaf.tar.xz
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>
-rw-r--r--common/board_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_info.c b/common/board_info.c
index 6afe98e..aa45e24 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;