summaryrefslogtreecommitdiff
path: root/include/init.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-11-12 19:58:21 -0700
committerTom Rini <trini@konsulko.com>2023-11-28 12:53:03 -0500
commitef211ab252d7a45f033d59a90d8e0575ce1a0d2d (patch)
tree07c2a754dcb64b4452b3fe708acd6e8a795ead29 /include/init.h
parentfafedff35015c8cca7c537b68deb57b22c3ead73 (diff)
downloadu-boot-ef211ab252d7a45f033d59a90d8e0575ce1a0d2d.tar.gz
u-boot-ef211ab252d7a45f033d59a90d8e0575ce1a0d2d.tar.bz2
u-boot-ef211ab252d7a45f033d59a90d8e0575ce1a0d2d.zip
board: Move show_board_info() comment to header file
Move this comment to its prototype and tidy it up a bit. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/init.h')
-rw-r--r--include/init.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h
index d57a24fd00..9a1951d10a 100644
--- a/include/init.h
+++ b/include/init.h
@@ -292,6 +292,17 @@ int misc_init_r(void);
/* common/board_info.c */
int checkboard(void);
+
+/**
+ * show_board_info() - Show board information
+ *
+ * Check sysinfo for board information. Failing that if the root node of the DTB
+ * has a "model" property, show it.
+ *
+ * Then call checkboard().
+ *
+ * Return 0 if OK, -ve on error
+ */
int show_board_info(void);
/**