2 * SPDX-License-Identifier: GPL-2.0+
7 #include <linux/compiler.h>
9 int __weak checkboard(void)
15 * If the root node of the DTB has a "model" property, show it.
16 * Then call checkboard().
18 int __weak show_board_info(void)
20 #ifdef CONFIG_OF_CONTROL
21 DECLARE_GLOBAL_DATA_PTR;
24 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL);
27 printf("Model: %s\n", model);