From patchwork Thu Apr 6 20:57:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 671404 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 B389BC77B6F for ; Thu, 6 Apr 2023 20:58:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239478AbjDFU6a (ORCPT ); Thu, 6 Apr 2023 16:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232375AbjDFU63 (ORCPT ); Thu, 6 Apr 2023 16:58:29 -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 B47367683; Thu, 6 Apr 2023 13:58:28 -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 4DE6C64811; Thu, 6 Apr 2023 20:58:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DC87C433A4; Thu, 6 Apr 2023 20:58:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814707; bh=IKUc7m06MHBX8fQN+6StDGew/WwB4gSFHqXLMoZdc6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hE6EUmXBvB/oapBU6JQz1G86QwvtKJsyIQrGqZuTbbye8d/bew9rj99Axy3eaj7iB SzQrJC5gnG0eGKqFFYGvUw9lBGloxOhGIjRoG+PdGj9ewEMlLWnPQjDHBnjubZzlny 6kNb9/XkK3FwgSLtf6Lm3MRiKlcr5YxTh00BdQqANtc4HSOYKZR6rxlrOOR5P93IdG viQVGlPFf3lzqodvII69nW/6WoWgOySNkHYpJps7JDUI7Fwh9Dax20lcCN/uF88oxb gVOyGDqMyjehnSKl8RueqNEuhQq/4t8UUY0Qix0MDdNGzjUAS1D4qEaJaWxKm4UG0H yvX9dvGxV6kpg== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Michael Turquette , Stephen Boyd , Palmer Dabbelt , Paul Walmsley , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 1/4] clk: sifive: make SiFive clk drivers depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:47 +0100 Message-Id: <20230406-groovy-trustable-15853ac0a130@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1021; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=sO1/UT/w7gYjWlZwOHP0tQk4JgO6l6TlBFVZlWRWj+w=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl6X+g7uXuuY+r/Cd6Lg4qlBUjfuP9/Cbrv91v1vJ xZsa63x7ihlYRDjYJAVU2RJvN3XIrX+j8sO5563MHNYmUCGMHBxCsBELi9iZFgSuGedsIZ+3E+B rPCSuVOVz8UluTYt+ntqsYrClc4zPEqMDH+nqlRInzv/e3HH0tPrDrFcCZrqMFE70UK6u+5h2vS C2+wA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org From: Conor Dooley As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the SiFive clk drivers to use the new symbol. Signed-off-by: Conor Dooley --- drivers/clk/sifive/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig index b7fde0aadfcb..2322f634a910 100644 --- a/drivers/clk/sifive/Kconfig +++ b/drivers/clk/sifive/Kconfig @@ -2,8 +2,8 @@ menuconfig CLK_SIFIVE bool "SiFive SoC driver support" - depends on SOC_SIFIVE || COMPILE_TEST - default SOC_SIFIVE + depends on ARCH_SIFIVE || COMPILE_TEST + default ARCH_SIFIVE help SoC drivers for SiFive Linux-capable SoCs. @@ -11,7 +11,7 @@ if CLK_SIFIVE config CLK_SIFIVE_PRCI bool "PRCI driver for SiFive SoCs" - default SOC_SIFIVE + default ARCH_SIFIVE select RESET_CONTROLLER select RESET_SIMPLE select CLK_ANALOGBITS_WRPLL_CLN28HPC From patchwork Thu Apr 6 20:57:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 670974 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 9313AC76196 for ; Thu, 6 Apr 2023 20:58:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239634AbjDFU6n (ORCPT ); Thu, 6 Apr 2023 16:58:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239305AbjDFU6j (ORCPT ); Thu, 6 Apr 2023 16:58:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80869A260; Thu, 6 Apr 2023 13:58:32 -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 004A264BDB; Thu, 6 Apr 2023 20:58:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CAC5C433AC; Thu, 6 Apr 2023 20:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814711; bh=/eevk9xUiKe/1mZGgG08xIjAaIv7WJjn8F+AGiH1IgU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NjmHF6hwUGR/yuQH0N/dyFnQq7Rbr66z21aS+6spQezESiffNwDM6Mxq+VRMPmnny tFjWxZJwYroT1Lto7k9VzZZhPtDTHCuC6CX4ymH41mqTwWAsltP4Edm/hdHvDbkBst 5SsZNTmbrY/EzXiHf8qav9t0mbU+EgFF/bZA+8XFgkQm8yy324SxZyZqcSlz3Xe6dc KuKlMF7TjEYjN2Nv6EtQuHynTHklrMswGaACU5rgwD3xMEYqfI51uNmYvR6upBE1a/ x483aZntpgUzwkZ5FvPmix6/tx0BOBq66YNnfQPLWg4ZxY+Pg7BvDKd+p2ocheHp9A Um3km2Zxvaxaw== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Michael Turquette , Stephen Boyd , Palmer Dabbelt , Paul Walmsley , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 2/4] PCI: dwc: make SiFive's PCI driver depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:48 +0100 Message-Id: <20230406-banshee-issue-db90fd3fafe0@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=859; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=qmcM2Yt7tg8pV2eIGJVXVJi3kTv/CdbcEGHBnd4Yhd0=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl6bFtq8LciXemaaMsXmYB3PszarprP+0/5vOi/o2 fznj9O7jlIWBjEOBlkxRZbE230tUuv/uOxw7nkLM4eVCWQIAxenAExkRzzD/+zP8q6bDX4bOPR6 z/HLOJ33vijw8Snzdee4NyswrbugJMLIMIc/3LgiKD748N4tU654OP3euKg6dnbjkfm+tU8NboR t4wUA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org From: Conor Dooley As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the dependency on SOC_SIFIVE to the new symbol. Signed-off-by: Conor Dooley --- drivers/pci/controller/dwc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig index d29551261e80..7d670be44073 100644 --- a/drivers/pci/controller/dwc/Kconfig +++ b/drivers/pci/controller/dwc/Kconfig @@ -409,7 +409,7 @@ config PCIE_AL config PCIE_FU740 bool "SiFive FU740 PCIe host controller" depends on PCI_MSI - depends on SOC_SIFIVE || COMPILE_TEST + depends on ARCH_SIFIVE || COMPILE_TEST select PCIE_DW_HOST help Say Y here if you want PCIe controller support for the SiFive From patchwork Thu Apr 6 20:57:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 671403 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 C5696C77B6C for ; Thu, 6 Apr 2023 20:58:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240396AbjDFU6r (ORCPT ); Thu, 6 Apr 2023 16:58:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240076AbjDFU6m (ORCPT ); Thu, 6 Apr 2023 16:58:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87C8BAD0C; Thu, 6 Apr 2023 13:58:36 -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 A1F3F64BDC; Thu, 6 Apr 2023 20:58:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1C4DC433A4; Thu, 6 Apr 2023 20:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814715; bh=GUOoSqrJ3HEphPnioWv++YNspCVNct6juRt4rZsQ5Zk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RwqiZWFhztmW9W3iOP/4ITXmX+Joly7WG9QWptavLAFppW9wM9gEvqsIQiqAlHwex Uw91P1eGGLH71clAFgPvovbgcywLj7mvYplgab6i1Zwi456AjwBqpLuljm+GwPXitq HzE1zAVb+x3pRTaHV3njmQQhkZJHQVPuhjWkNLkK4thfmETQ2L3hIAr+RDWLyLhAFl xK7UYvuVDoTkrK3v5KAUa3RY1EiemOsqowy+QS++JtNEwg5/u8nesj5t0vxiaiE7gJ YI0zuN/7Hylh35WHhyBHjN7rMmw4JqiO0I6ywHu8y33rn8zIQ5CRd/d/Np1txcP+ZG zQ/WsNEyoYnIQ== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Michael Turquette , Stephen Boyd , Palmer Dabbelt , Paul Walmsley , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 3/4] soc: sifive: make SiFive's cache controller driver depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:49 +0100 Message-Id: <20230406-subdued-observer-cbb0e2f72cc7@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=718; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=9Il+wlZDZcYvFbiMxYuYNQnDgGowSqAh6MrzvX34VSo=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl7Xa0sar/bLGTzU1X7Xa/VrrZdyuYlbkKlinvGcU t8v+9d0lLIwiHEwyIopsiTe7muRWv/HZYdzz1uYOaxMIEMYuDgFYCJtQYwMx2/Zz59+bt29s1w7 +s7pGE6qNclY3aGzI2hi77trW1lLWBkZNnl8Vl5dvaZRUmSO6Dbet34f3SI/f3rwcT6DxcrCfeb lvAA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org From: Conor Dooley As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the SiFive soc drivers to use the new ARCH_FOO symbols. Signed-off-by: Conor Dooley --- drivers/soc/sifive/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/sifive/Kconfig b/drivers/soc/sifive/Kconfig index e86870be34c9..139884addc41 100644 --- a/drivers/soc/sifive/Kconfig +++ b/drivers/soc/sifive/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -if SOC_SIFIVE || SOC_STARFIVE +if ARCH_SIFIVE || ARCH_STARFIVE config SIFIVE_CCACHE bool "Sifive Composable Cache controller" From patchwork Thu Apr 6 20:57:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 670973 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 E7F05C77B6E for ; Thu, 6 Apr 2023 20:59:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240544AbjDFU7F (ORCPT ); Thu, 6 Apr 2023 16:59:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240035AbjDFU6p (ORCPT ); Thu, 6 Apr 2023 16:58:45 -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 D1EB486AC; Thu, 6 Apr 2023 13:58:39 -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 50D2064BDA; Thu, 6 Apr 2023 20:58:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FAEBC4339C; Thu, 6 Apr 2023 20:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814718; bh=hPhh8oTx1kYLc913G4HIdxuV/0cdfFWp2HgdjSh+vKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uExbzvaTeBK8FlkbTfXpl+myDNnYUfc3M+u9y5qwGUKWlFphYo/+osPoZLU/y+oMl muWRLkrK2GuHVwNFIul5kMhjhgkkEoHmutbFJb1n5Ga/MgeVhFG4IpbrQcfXL4li7l kRpeUyrWe2U1g9ehZ3RDwmSzdMy70t1MZCMXsuSufSJjtAY6VQdfSupVK06PkLLn+u POzOU6xTsqPl1C0fARDoPfY8MproJ8TT6C4+mT0hH+2Nppwjm3RLqtJUaKGMXIQpoD 3LRmwrvFcLyJ5p9wdRwpfY34JaAu7c43C5E2vpJ1LU5kweXBPdCK6JRYGtZYzK3DCk MDUccGPJH+FmQ== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Michael Turquette , Stephen Boyd , Palmer Dabbelt , Paul Walmsley , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 4/4] serial: make SiFive serial drivers depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:50 +0100 Message-Id: <20230406-carnival-aspirate-fcf69a30078c@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1169; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=/uqEAT4mwA891sbEf4x2pVtUF/+D0Dq2ST7GwztNFHQ=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl5R2spbv9u90F5UuaaO5erlaZvmnu/cxvSQ9Wjqm wslG1cadpSyMIhxMMiKKbIk3u5rkVr/x2WHc89bmDmsTCBDGLg4BWAiB6sZGW4uq/Y16WEukDZk rKlvKHrFfXKHYWP422dLndbMbSgRmM7wV3K/9/yq1/9j5l+vnZulbCLz9NVmu7Mmq9/7K7892BT MxQwA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org From: Conor Dooley As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the SiFive serial driver Kconfig entries from the SOC_ symbols to ARCH_ instead. Signed-off-by: Conor Dooley --- I hope you like the message-id Greg ;) --- 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 39a0078f54f6..398e5aac2e77 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -951,7 +951,7 @@ config SERIAL_OMAP_CONSOLE config SERIAL_SIFIVE tristate "SiFive UART support" depends on OF - default SOC_SIFIVE || SOC_CANAAN + default ARCH_SIFIVE || ARCH_CANAAN select SERIAL_CORE help Select this option if you are building a kernel for a device that @@ -961,7 +961,7 @@ config SERIAL_SIFIVE config SERIAL_SIFIVE_CONSOLE bool "Console on SiFive UART" depends on SERIAL_SIFIVE=y - default SOC_SIFIVE || SOC_CANAAN + default ARCH_SIFIVE || ARCH_CANAAN select SERIAL_CORE_CONSOLE select SERIAL_EARLYCON help