mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
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>
This commit is contained in:
@@ -15,12 +15,6 @@ int __weak checkboard(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Check sysinfo for board information. Failing that if the root node of the DTB
|
|
||||||
* has a "model" property, show it.
|
|
||||||
*
|
|
||||||
* Then call checkboard().
|
|
||||||
*/
|
|
||||||
int __weak show_board_info(void)
|
int __weak show_board_info(void)
|
||||||
{
|
{
|
||||||
if (IS_ENABLED(CONFIG_OF_CONTROL)) {
|
if (IS_ENABLED(CONFIG_OF_CONTROL)) {
|
||||||
|
@@ -292,6 +292,17 @@ int misc_init_r(void);
|
|||||||
|
|
||||||
/* common/board_info.c */
|
/* common/board_info.c */
|
||||||
int checkboard(void);
|
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);
|
int show_board_info(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user