提交 dc096a5e 编写于 作者: M Marek Behún 提交者: Stefan Roese

arm: mvebu: turris_omnia: Use show_board_info()

We are printing board information in checkboard() function, which is
called from the default weak implementation of show_board_info().

Rename checkboard() to show_board_info(). This throws away the weak
implementation of show_board_info().
Signed-off-by: NMarek Behún <marek.behun@nic.cz>
Reviewed-by: NStefan Roese <sr@denx.de>
上级 1335e31e
......@@ -468,7 +468,7 @@ static struct udevice *get_atsha204a_dev(void)
return dev;
}
int checkboard(void)
int show_board_info(void)
{
u32 version_num, serial_num;
int err = 1;
......@@ -496,7 +496,7 @@ int checkboard(void)
}
out:
printf("Turris Omnia:\n");
printf("Model: Turris Omnia\n");
printf(" RAM size: %i MiB\n", omnia_get_ram_size_gb() * 1024);
if (err)
printf(" Serial Number: unknown\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册