1 // SPDX-License-Identifier: GPL-2.0+
4 #include <linux/libfdt.h>
5 #include <linux/compiler.h>
7 int __weak checkboard(void)
13 * If the root node of the DTB has a "model" property, show it.
14 * Then call checkboard().
16 int __weak show_board_info(void)
18 #ifdef CONFIG_OF_CONTROL
19 DECLARE_GLOBAL_DATA_PTR;
22 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL);
25 printf("Model: %s\n", model);