From patchwork Fri Jan 27 11:03:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herbert Xu X-Patchwork-Id: 13118371 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A686CC61DA7 for ; Fri, 27 Jan 2023 11:04:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KrrCskK8Atih2lIHfeBZYXRWJCRSd9cScJKlM0k8GlM=; b=0u5UVtsmJifY39 1LCfSbuuXPYdwz+/HBPeWSI0wXjr3LCEmuYHS3juhhdu5eFk/CneSsJ7wK8ykXABcXIz6OiHC29CI 2AFnjrOwN8GABE9a7bWl21sneDnNYEgsiqJ2Acn5uZ0an4kxo1pM6hfCiyPKGAN/q7oJtDAfclSxs pk7wFMQnJ+9FLhxTZM5fcD4fX37CDDFsoGMVouPF1y20J1h06nXNT758cTdYfcq+JWRxne/87HniO P1Xj4bXKAX22wg25Le+zNgyXI2J9VIkF8UQOmmRWJ3bC4JkKWRjZ+3DhAqic5Gul64GkVwibep0dI 69tzLDNo2WqT7cxi8aHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLMWP-00E3J8-IV; Fri, 27 Jan 2023 11:03:53 +0000 Received: from helcar.hmeau.com ([216.24.177.18] helo=formenos.hmeau.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLMWM-00E3Hy-NZ for linux-riscv@lists.infradead.org; Fri, 27 Jan 2023 11:03:52 +0000 Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pLMVt-004hKi-RU; Fri, 27 Jan 2023 19:03:22 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 27 Jan 2023 19:03:21 +0800 Date: Fri, 27 Jan 2023 19:03:21 +0800 From: Herbert Xu To: Jia Jie Ho Cc: Olivia Mackall , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH] hwrng: starfive - Enable compile testing Message-ID: References: <20230117015445.32500-1-jiajie.ho@starfivetech.com> <20230117015445.32500-3-jiajie.ho@starfivetech.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230117015445.32500-3-jiajie.ho@starfivetech.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_030350_787886_C3EFFE48 X-CRM114-Status: UNSURE ( 6.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Enable compile testing for jh7110. Also remove the dependency on HW_RANDOM. Signed-off-by: Herbert Xu Reviewed-by: Conor Dooley Reviewed-by: Jia Jie Ho diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 9924e2f35b69..ae508e96cfc2 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -551,8 +551,7 @@ config HW_RANDOM_CN10K config HW_RANDOM_JH7110 tristate "StarFive JH7110 Random Number Generator support" - depends on SOC_STARFIVE - depends on HW_RANDOM + depends on SOC_STARFIVE || COMPILE_TEST help This driver provides support for the True Random Number Generator in StarFive JH7110 SoCs.