Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4281836pxv; Tue, 27 Jul 2021 03:33:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqz1brug8dobLHwv62Hr3TGg5F3SRpS5rT06nEsLH51wGSLNNaMacG2BkO/g93mmUjlb2A X-Received: by 2002:a05:6402:60c:: with SMTP id n12mr26630679edv.189.1627382038611; Tue, 27 Jul 2021 03:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627382038; cv=none; d=google.com; s=arc-20160816; b=A2yzmcuxmSAbTSVX7J1kIL5uSo3Y6/2mn1FfFZ8bc2KG2anXzZHzMlLomhwTzI4ucz /nCPgNGr/CxL7B2xyIJIf3fKYYma3G/Oct+6ED/CghxrNRhqq/TjrvF/EO7zXd1c4Cwf rB6mP9jbYnBTOOtE4peDV/hfsnhepkfqlTSFH5kujwySCi1D7G8sJ+osg7RfISVzAvJW s4vGfUU4hWCqd3oqysZC23Vu3FiAmEcQlRsp0rH+hSxDuL22kfbxJXFwdmyYPQwNnbgB gjG1hTuTK7+AxSsllIY89mDNj2r9c6mlvxI+/O1sqrUaveERFAuxYpoAqGhLLZ3/NAF6 GA7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=cRvx1rfTMDyy53sbHvtrp//b8a32845c8wW7osb3sk0=; b=zw5151RuHa2ROtOpn+r6wo3vE1wPTCqV3GnvUyeiqjuVMUFIOgOUCTYtNKjUmfRtjY Kw6McUh+m2u4pJIiAFAPA2QrM4znXEUxTFlFb4zbYPLe5P+F20gHgIgroVRO+LTuS56B WsWHFF7OzPWb3CRIgIblTfIsnNuRlWMsv6sAXGrLzqsAM2/4ZyCiVQzFjkpq3r+1zGDU I9DMkCs5VmTU3NVxb97FF/24rNfm/5kPLoDeqWEBSDw52VHIaeFf04jM2gqxColriP+A I+YbABoI/euUg/aJ/pCN+Zj0k46uDsmysHuVl2dk+YkzWI9dnxRONT5MY4dMQXLu+vHe MHSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di3si2232932ejc.490.2021.07.27.03.33.35; Tue, 27 Jul 2021 03:33:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236311AbhG0Kb5 (ORCPT + 99 others); Tue, 27 Jul 2021 06:31:57 -0400 Received: from muru.com ([72.249.23.125]:55880 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231745AbhG0Kb4 (ORCPT ); Tue, 27 Jul 2021 06:31:56 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 24BED8106; Tue, 27 Jul 2021 10:32:12 +0000 (UTC) From: Tony Lindgren To: Greg Kroah-Hartman Cc: Vignesh Raghavendra , linux-serial@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko , Dario Binacchi Subject: [PATCH 2/2] serial: omap: Only allow if 8250_omap is not selected Date: Tue, 27 Jul 2021 13:31:49 +0300 Message-Id: <20210727103149.51175-2-tony@atomide.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210727103149.51175-1-tony@atomide.com> References: <20210727103149.51175-1-tony@atomide.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For years we've been carrying legacy omap-serial in addition to 8250_omap driver and 8250_omap should be used instead. Let's finally start planning on removing omap-serial by first not building it if 8250_omap is selected to save some memory. The defconfigs have switched over to using 8250_omap, and we have a fixup in place for the the serial console since commit 00648d0282dc ("tty: serial: 8250: omap: add ttySx console if the user didn't"). So people updating their systems without omap-serial will see boot time warnings on what is going on. Cc: Andy Shevchenko Cc: Dario Binacchi Cc: Vignesh Raghavendra Signed-off-by: Tony Lindgren --- drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -959,7 +959,7 @@ config SERIAL_VT8500_CONSOLE config SERIAL_OMAP tristate "OMAP serial port support" - depends on ARCH_OMAP2PLUS || COMPILE_TEST + depends on (ARCH_OMAP2PLUS && !SERIAL_8250_OMAP) || COMPILE_TEST select SERIAL_CORE help If you have a machine based on an Texas Instruments OMAP CPU you -- 2.32.0