Skip to content
Snippets Groups Projects
Commit f7637cc0 authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Tom Rini
Browse files

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: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Acked-by: default avatarMax Krummenacher <max.krummenacher@toradex.com>
parent 62e7a5c5
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ int __weak checkboard(void) ...@@ -15,7 +15,7 @@ int __weak checkboard(void)
* If the root node of the DTB has a "model" property, show it. * If the root node of the DTB has a "model" property, show it.
* Then call checkboard(). * Then call checkboard().
*/ */
int show_board_info(void) int __weak show_board_info(void)
{ {
#ifdef CONFIG_OF_CONTROL #ifdef CONFIG_OF_CONTROL
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment