diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-10-09 19:33:44 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-10-21 07:39:05 +0200 |
commit | dc096a5e905b1ccd53d8337ec16414ec076602ea (patch) | |
tree | 181871a2103d5616bb921752fd73aba1528cc64f /board | |
parent | 1335e31ecc2cd7e4e51b730499198c7548ac0a3f (diff) | |
download | u-boot-dc096a5e905b1ccd53d8337ec16414ec076602ea.tar.gz u-boot-dc096a5e905b1ccd53d8337ec16414ec076602ea.tar.bz2 u-boot-dc096a5e905b1ccd53d8337ec16414ec076602ea.zip |
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: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/CZ.NIC/turris_omnia/turris_omnia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c b/board/CZ.NIC/turris_omnia/turris_omnia.c index 7a86111890..39051a803a 100644 --- a/board/CZ.NIC/turris_omnia/turris_omnia.c +++ b/board/CZ.NIC/turris_omnia/turris_omnia.c @@ -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"); |