X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fboard_info.c;h=aa45e24b34603751c8e21cae4c631bd41eb54b1a;hb=e9eb0cb20a12f4ef55e229555efa6e726274dfdc;hp=bd5dcfa066358c2cc44ce5d19fcc3e77d555cd09;hpb=0741701acf00749672f75f4c196dabd8b235f741;p=oweals%2Fu-boot.git diff --git a/common/board_info.c b/common/board_info.c index bd5dcfa066..aa45e24b34 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;