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 BB847C433F5 for ; Tue, 24 May 2022 16:16:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D30DA8425C; Tue, 24 May 2022 18:16:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 39A368405A; Tue, 24 May 2022 18:16:40 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 99DA583ABF for ; Tue, 24 May 2022 18:16:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C6A2A23A; Tue, 24 May 2022 09:16:36 -0700 (PDT) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 09C563F66F; Tue, 24 May 2022 09:16:35 -0700 (PDT) Date: Tue, 24 May 2022 16:57:08 +0100 From: Andre Przywara To: Samuel Holland Cc: u-boot@lists.denx.de, Jagan Teki , Tom Rini Subject: Re: [PATCH 2/2] serial: Remove obsolete CONS_INDEX_n Kconfig options Message-ID: <20220524165708.0f77edb7@donnerap.cambridge.arm.com> In-Reply-To: <20220509051055.40232-2-samuel@sholland.org> References: <20220509051055.40232-1-samuel@sholland.org> <20220509051055.40232-2-samuel@sholland.org> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean On Mon, 9 May 2022 00:10:55 -0500 Samuel Holland wrote: > These were only ever implied by sunxi platforms, and that usage has > been removed. Current practice is to specify CONFIG_CONS_INDEX in each > board's defconfig. > > Signed-off-by: Samuel Holland Applied to sunxi/master. Thanks! Andre > --- > > drivers/serial/Kconfig | 26 -------------------------- > 1 file changed, 26 deletions(-) > > diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig > index 1e595d0600..71a0591697 100644 > --- a/drivers/serial/Kconfig > +++ b/drivers/serial/Kconfig > @@ -74,36 +74,10 @@ config TPL_SERIAL_PRESENT > This option enables the full UART in TPL, so if is it disabled, > the full UART driver will be omitted, thus saving space. > > -# Logic to allow us to use the imply keyword to set what the default port > -# should be. The default is otherwise 1. > -config CONS_INDEX_0 > - bool > - > -config CONS_INDEX_2 > - bool > - > -config CONS_INDEX_3 > - bool > - > -config CONS_INDEX_4 > - bool > - > -config CONS_INDEX_5 > - bool > - > -config CONS_INDEX_6 > - bool > - > config CONS_INDEX > int "UART used for console" > depends on SPECIFY_CONSOLE_INDEX > range 0 6 > - default 0 if CONS_INDEX_0 > - default 2 if CONS_INDEX_2 > - default 3 if CONS_INDEX_3 > - default 4 if CONS_INDEX_4 > - default 5 if CONS_INDEX_5 > - default 6 if CONS_INDEX_6 > default 1 > help > Set this to match the UART number of the serial console.