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 47011C433EF for ; Mon, 9 May 2022 05:11:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EF86883E18; Mon, 9 May 2022 07:11:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sholland.org header.i=@sholland.org header.b="theNBtLz"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="UzB2QU5m"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 828B783AE1; Mon, 9 May 2022 07:11:01 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 EC38883DC8 for ; Mon, 9 May 2022 07:10:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=samuel@sholland.org Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2FE165C00B2; Mon, 9 May 2022 01:10:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 09 May 2022 01:10:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1652073058; x=1652159458; bh=XP G3WW56JK6CktOwME7S2/aa33BRw0l/rcPVewzur5U=; b=theNBtLzRmwnpkqAOu yVAV/ik2gZj7Q4xmQ6ngYO/Ie891Tu/CHHwVVWFXmWpAolTzRo0Hv/jjlw/nM48u UIN0gGOiqkGHGrpuXUiA30LfeQdLc3HG0Y7Vvri0Vs3CvPTAG+36e+k+kzIiV1kO WX+o8pvsQudsF8nV05ykn5/WSXr2r8xSNPSpVbSvFBvy1SzrBrCv88rf+f+mPKAz 3wvbiBSkZYulDSMR7bWDJKd7dbKcMbtwDyZlXv93DN3aceuaz5XN1dSyFlngSyJY 8opObkKsvaiRwqp1hgaCpDsv1r6rKyob5yGsFgn3c/l7/SjIs1oA5aLIDtcsh1/z /jOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1652073058; x=1652159458; bh=XPG3WW56JK6CktOwME7S2/aa33BRw0l/rcP Vewzur5U=; b=UzB2QU5mBsA4Ct9QlKmH53yHwFpQ2Qp1dUOpfYNhBogU+5cHNND QxTD4WB5kNILY0Wubu2VnLjl9/ps6UXIPUM9sy6W8pUl7MCYSASNPavmLhUefyJs t+5sMUN2vvO7b/IWIDREZbNsdDkxCFs9gYbnhkZ90SCdxPNYhF0yEHoATJtunvF8 tT/6cAhLB06Q/HXj4f9SZCcThrxBy6mXcKaGE29Yqk10F2jxoI/s6VGjJycb5JVV mbe7TDL9JSN+4jGfaWkd/cRL7n4MzgdTBHBeiJHRZ2Jk5SQWe4070xbaGATJFayb FvG9x9JBhTxgyCVabWihrW7BRd66BeEesdw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeekgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 May 2022 01:10:57 -0400 (EDT) From: Samuel Holland To: u-boot@lists.denx.de, Jagan Teki , Andre Przywara , Tom Rini Cc: Samuel Holland Subject: [PATCH 2/2] serial: Remove obsolete CONS_INDEX_n Kconfig options Date: Mon, 9 May 2022 00:10:55 -0500 Message-Id: <20220509051055.40232-2-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220509051055.40232-1-samuel@sholland.org> References: <20220509051055.40232-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 --- 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. -- 2.35.1