From patchwork Wed Oct 5 17:13:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 612800 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA3C9C433FE for ; Wed, 5 Oct 2022 17:14:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230308AbiJEROj (ORCPT ); Wed, 5 Oct 2022 13:14:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbiJEROc (ORCPT ); Wed, 5 Oct 2022 13:14:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C1D57B1E2; Wed, 5 Oct 2022 10:14:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 99234B81EC5; Wed, 5 Oct 2022 17:14:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE015C43141; Wed, 5 Oct 2022 17:14:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664990067; bh=xre7D3p9wYeZj6+yx2KL0N77FmYsyYWWTka8j0VWX5Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SZBCD8h7uQuNhjlcSS96cGwI5xKybHLO7BvB+He2Kt2jTfSBYPnOOKFhT8+a9PBO/ kTjYOM49Ya6AyKQS18MRMbx3QWxJQlxoU8uEWN2iBABWJzznTregD2EPz9tEaG91Ft 7f4jU+tifiXFq6g70/xYOPRMnX3C4UggqSymuP8moI47GWOAvNTJtGcdnbPGFCBZPl qXMQTvEmhDCTEFNCzxdGFe7soaJr0Mlmxf+iu079ppqlqKCmQ7I1zSBzhLFM7bgpi1 oS9EvwHXKhta0Y3PDdnxsKwn2EetNc1nklRMmip1ksqYBXdHUsLisjo2uc7Hd/fgUY 94dLuNr7SlJGw== From: Conor Dooley To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Jiri Slaby , Conor Dooley Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 2/6] serial: sifive: select by default if SOC_SIFIVE Date: Wed, 5 Oct 2022 18:13:45 +0100 Message-Id: <20221005171348.167476-3-conor@kernel.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221005171348.167476-1-conor@kernel.org> References: <20221005171348.167476-1-conor@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org From: Conor Dooley With the aim of dropping direct selects of drivers from Kconfig.socs, default the SiFive serial drivers to the value of SOC_SIFIVE. Signed-off-by: Conor Dooley --- drivers/tty/serial/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 2a18a42a5004..768f1138c9fb 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -972,6 +972,7 @@ config SERIAL_OMAP_CONSOLE config SERIAL_SIFIVE tristate "SiFive UART support" depends on OF + default SOC_SIFIVE select SERIAL_CORE help Select this option if you are building a kernel for a device that @@ -981,6 +982,7 @@ config SERIAL_SIFIVE config SERIAL_SIFIVE_CONSOLE bool "Console on SiFive UART" depends on SERIAL_SIFIVE=y + default SOC_SIFIVE select SERIAL_CORE_CONSOLE select SERIAL_EARLYCON help