Commit f7637cc01414b9c87b6b0f861f34d83c19bfaaaf

Authored by Marcel Ziswiler
Committed by Tom Rini
1 parent 62e7a5c5f8

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

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