From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A7B2C433EF for ; Thu, 21 Oct 2021 05:34:15 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B69D2610FF for ; Thu, 21 Oct 2021 05:34:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B69D2610FF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 16EA9834C5; Thu, 21 Oct 2021 07:34:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634794453; bh=MjoQd0TW2J2bBhDtg0sAfKOb4snYPj3pcdmqow7aKjI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=y3qi0LgXJHX6Zf8I+PXkGiHB9FPnU4hY4qMdVEZ0Hhxqd0bDB2d8dDcy61/tjOzsp L9xKaXqnYos4UxaefcbVuMBBUiYEOu0yVpNxzX6sZKJnj0kwzSA2b22rGmzEZ+Ob3y baYLtKqoy97mJm9zoki2wzBvvxfY1syh4dBr4CBxGzpc2X0YVTe6MnN/Yetvg2T+gA Sb1CnU9meBQP8SaccVb/HBePgJYkHioU0dsgeyiXUaXtTtryZVLxjSgOhvIGbiZg6A 3fziZkTgncXJphs0x/ug8k+rQNMZzsZwDdw9iJgiaXFRRDOIdPSTtki7sDkQgRxQTk aYXV3Uhua9hag== Received: by phobos.denx.de (Postfix, from userid 109) id 2A982834CC; Thu, 21 Oct 2021 07:34:11 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:1::465:107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 61A47834F4 for ; Thu, 21 Oct 2021 07:34:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4HZbkj224fzQkLv; Thu, 21 Oct 2021 07:34:05 +0200 (CEST) Subject: Re: [PATCH u-boot-marvell 10/12] arm: mvebu: turris_omnia: Use show_board_info() To: =?UTF-8?Q?Marek_Beh=c3=ban?= Cc: u-boot@lists.denx.de, pali@kernel.org, =?UTF-8?Q?Marek_Beh=c3=ban?= References: <20211009173346.7859-1-kabel@kernel.org> <20211009173346.7859-11-kabel@kernel.org> From: Stefan Roese Message-ID: Date: Thu, 21 Oct 2021 07:34:01 +0200 MIME-Version: 1.0 In-Reply-To: <20211009173346.7859-11-kabel@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 84D191312 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 09.10.21 19:33, Marek Behún wrote: > From: Marek Behún > > 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 Reviewed-by: Stefan Roese Thanks, Stefan > --- > board/CZ.NIC/turris_omnia/turris_omnia.c | 4 ++-- > 1 file 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"); > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de