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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D5409C433EF for ; Sat, 18 Dec 2021 08:34:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 581FA81919; Sat, 18 Dec 2021 09:34:40 +0100 (CET) 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=1639816480; bh=RhzZkUJidck1RWGT6Q5wTdScW0j4vnPGBpi4FVoG3u8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=QitR4rfOIFeUZAOsER/ggDJ/K4+mTiLXO6O7bo+49p2BqXEtLAlGE8mVQleINIHA7 B0CiUniHfMFhi5TeAuuifqNF8SBTSIvdsPVzNY7E+I9L3bjP7s37KiJm/e7JKOCEoA 0sMFH1ABqXPhXqa7Z7PXk/UGgK8F55TpEdrJzXhnCW7CO5DTvgt2vUZWA5DP9lZs0g xafgRRs0HT9OVw6r+x2Q7bhqvtPtEZhAK2Iy0jYuQoytXqOFhd5gHvAYCnsoN+sE40 x2Jnl/SOBfdY+bz6ekJPz15AxvyqluOQpmOJ20EEXyY5XGsJWZm8X+Xd/AOqNz0SjF BfPIs2PWtc5Tw== Received: by phobos.denx.de (Postfix, from userid 109) id AE9A682A68; Sat, 18 Dec 2021 09:34:38 +0100 (CET) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [91.198.250.253]) (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 2AF89811BB for ; Sat, 18 Dec 2021 09:34:36 +0100 (CET) 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 (unknown [91.198.250.118]) (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-204.mailbox.org (Postfix) with ESMTPS id 4JGK0C4RYwzQlLK; Sat, 18 Dec 2021 09:34:35 +0100 (CET) Message-ID: Date: Sat, 18 Dec 2021 09:34:31 +0100 MIME-Version: 1.0 Subject: Re: [PATCH] arm: mvebu: Remove commented example code Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , u-boot@lists.denx.de References: <20211217172851.4818-1-pali@kernel.org> From: Stefan Roese In-Reply-To: <20211217172851.4818-1-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 12/17/21 18:28, Pali Rohár wrote: > Include file debug_uart.h already contains documentation how to use it. > > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > arch/arm/mach-mvebu/spl.c | 13 ------------- > 1 file changed, 13 deletions(-) > > diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c > index 6a9e1d860cf7..29a8adc9d79c 100644 > --- a/arch/arm/mach-mvebu/spl.c > +++ b/arch/arm/mach-mvebu/spl.c > @@ -5,7 +5,6 @@ > > #include > #include > -#include > #include > #include > #include > @@ -303,18 +302,6 @@ void board_init_f(ulong dummy) > */ > board_early_init_f(); > > - /* Example code showing how to enable the debug UART on MVEBU */ > -#ifdef EARLY_UART > - /* > - * Debug UART can be used from here if required: > - * > - * debug_uart_init(); > - * printch('a'); > - * printhex8(0x1234); > - * printascii("string"); > - */ > -#endif > - > /* > * Use special translation offset for SPL. This needs to be > * configured *before* spl_init() is called as this function > Viele Grüße, Stefan Roese -- 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