diff options
Diffstat (limited to 'common/board_info.c')
-rw-r--r-- | common/board_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/board_info.c b/common/board_info.c index bd5dcfa..aa45e24 100644 --- a/common/board_info.c +++ b/common/board_info.c @@ -15,9 +15,9 @@ 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) { -#if defined(CONFIG_OF_CONTROL) && !defined(CONFIG_CUSTOM_BOARDINFO) +#ifdef CONFIG_OF_CONTROL DECLARE_GLOBAL_DATA_PTR; const char *model; |