From patchwork Wed Oct 5 17:13:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12999493 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 B2DC4C433F5 for ; Wed, 5 Oct 2022 17:14:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230289AbiJEROk (ORCPT ); Wed, 5 Oct 2022 13:14:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230272AbiJEROc (ORCPT ); Wed, 5 Oct 2022 13:14:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7057C7B1FD; Wed, 5 Oct 2022 10:14:31 -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 dfw.source.kernel.org (Postfix) with ESMTPS id C0A416157B; Wed, 5 Oct 2022 17:14:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFEA9C433C1; Wed, 5 Oct 2022 17:14:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664990070; bh=SrRvD4SwDz0Bv8OnFxJh7YVeUXOe4OG5XNkeYsdBWws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FwQLqwX5iYTvFNc4YjoKoPCRcxDPLarKMHG5waZRZEbVk7dlYD+urFb6t+dPSN+us MJmw7dFf8Ly2VIlW2vJMGejDHR6UJ2bGzx0sudczdTbPJWeESHtYBkGwp7XqlU4kMF RhV3RXMF9+5aV9OOUhc5jNoydOPhu2CInUh5gO3ZlDGF3x018umuOR+LXLr1K6wDCq 3BJMwgsqIBk/0yaOXJnCy/qdZoOrR/LCNxBek/5dBiAMZ8i6JzhAz4vLhhPnIMT/Ae iWhF1+GpWqe3JOMfFamLn8oNRkjnj6VZI/wZg2VYxHiMsRohPq1q7QHNPufdKzuvq6 +rKa6tDsaj0yQ== 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 3/6] serial: sifive: select by default if SOC_CANAAN Date: Wed, 5 Oct 2022 18:13:46 +0100 Message-Id: <20221005171348.167476-4-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-clk@vger.kernel.org From: Conor Dooley With the aim of dropping direct selects of drivers from Kconfig.socs, default the SiFive serial drivers to enabled if SOC_CANAAN. Signed-off-by: Conor Dooley --- drivers/tty/serial/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 768f1138c9fb..58f6f8e11592 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -972,7 +972,7 @@ config SERIAL_OMAP_CONSOLE config SERIAL_SIFIVE tristate "SiFive UART support" depends on OF - default SOC_SIFIVE + default SOC_SIFIVE || SOC_CANAAN select SERIAL_CORE help Select this option if you are building a kernel for a device that @@ -982,7 +982,7 @@ config SERIAL_SIFIVE config SERIAL_SIFIVE_CONSOLE bool "Console on SiFive UART" depends on SERIAL_SIFIVE=y - default SOC_SIFIVE + default SOC_SIFIVE || SOC_CANAAN select SERIAL_CORE_CONSOLE select SERIAL_EARLYCON help