X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Fboard_info.c;h=a392bece62c695aa25b4235d5974532fd5bc72d8;hb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;hp=bd5dcfa066358c2cc44ce5d19fcc3e77d555cd09;hpb=0741701acf00749672f75f4c196dabd8b235f741;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/board_info.c b/common/board_info.c index bd5dcfa..a392bec 100644 --- a/common/board_info.c +++ b/common/board_info.c @@ -1,9 +1,7 @@ -/* - * SPDX-License-Identifier: GPL-2.0+ - */ +// SPDX-License-Identifier: GPL-2.0+ #include -#include +#include #include int __weak checkboard(void) @@ -15,9 +13,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;