summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-11-16 17:49:20 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2017-01-11 15:15:48 +0100
commitdb69a47e1b86dc94cbf28897c4f5cd698bbfeefb (patch)
treef5bd200c9054c2c4d5017328be4affa1d83f3916 /common
parent2f84345d37c1fcf0c787e6b3c51438c782199cb6 (diff)
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> (cherry picked from commit f7637cc01414b9c87b6b0f861f34d83c19bfaaaf)
Diffstat (limited to 'common')
-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 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;