mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 19:34:35 +00:00
turris: Use checkboard() instead of show_board_info()
Boards can use a sysinfo driver if a particular model name is needed. Update this board to use checkboard() directly, rather than having a weak function laid on top of a weak function. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
53c4ef0e65
commit
8cd4bf7dc9
2 changed files with 2 additions and 2 deletions
|
@ -562,7 +562,7 @@ static void handle_reset_button(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int show_board_info(void)
|
int checkboard(void)
|
||||||
{
|
{
|
||||||
int i, ret, board_version, ram_size, is_sd;
|
int i, ret, board_version, ram_size, is_sd;
|
||||||
const char *pub_key, *model;
|
const char *pub_key, *model;
|
||||||
|
|
|
@ -962,7 +962,7 @@ int board_late_init(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int show_board_info(void)
|
int checkboard(void)
|
||||||
{
|
{
|
||||||
char serial[17];
|
char serial[17];
|
||||||
int err;
|
int err;
|
||||||
|
|
Loading…
Add table
Reference in a new issue