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