All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hadar Gat <hadar.gat@arm.com>
To: Matt Mackall <mpm@selenic.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Arnd Bergmann <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Hadar Gat <hadar.gat@arm.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Stefan Wahren <wahrenst@gmx.net>, Zaibo Xu <xuzaibo@huawei.com>,
	Tomer Maimon <tmaimon77@gmail.com>,
	Randy Dunlap <rdunlap@infradead.org>
Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
	Gilad Ben-Yossef <gilad@benyossef.com>,
	Ofir Drang <ofir.drang@arm.com>
Subject: [PATCH v3 1/3] hwrng: cctrng - Add dependency on OF
Date: Mon, 27 Apr 2020 14:36:02 +0300	[thread overview]
Message-ID: <1587987364-4566-2-git-send-email-hadar.gat@arm.com> (raw)
In-Reply-To: <1587987364-4566-1-git-send-email-hadar.gat@arm.com>

The cctrng is unusable on non-DT systems so we should depend
on it.

Signed-off-by: Hadar Gat <hadar.gat@arm.com>
---
 drivers/char/hw_random/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 0c99735..3404716 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -476,7 +476,7 @@ config HW_RANDOM_KEYSTONE
 
 config HW_RANDOM_CCTRNG
 	tristate "Arm CryptoCell True Random Number Generator support"
-	depends on HAS_IOMEM
+	depends on HAS_IOMEM && OF
 	default HW_RANDOM
 	help
 	  This driver provides support for the True Random Number
-- 
2.7.4


  reply	other threads:[~2020-04-27 11:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 11:36 [PATCH v3 0/3] hwrng: cctrng kconfig updates Hadar Gat
2020-04-27 11:36 ` Hadar Gat [this message]
2020-04-27 15:06   ` [PATCH v3 1/3] hwrng: cctrng - Add dependency on OF Herbert Xu
2020-04-28 12:26     ` Hadar Gat
2020-04-28 12:30       ` Herbert Xu
2020-04-30  7:39         ` Hadar Gat
2020-04-30  7:49           ` Herbert Xu
2020-04-30  8:26             ` Hadar Gat
2020-04-30 14:10               ` Herbert Xu
2020-04-27 11:36 ` [PATCH v3 2/3] hwrng: cctrng - change default to n Hadar Gat
2020-04-28 15:31   ` Geert Uytterhoeven
2020-04-27 11:36 ` [PATCH v3 3/3] hwrng: cctrng - update help description Hadar Gat
2020-05-08  6:04 ` [PATCH v3 0/3] hwrng: cctrng kconfig updates Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587987364-4566-2-git-send-email-hadar.gat@arm.com \
    --to=hadar.gat@arm.com \
    --cc=arnd@arndb.de \
    --cc=gilad@benyossef.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=krzk@kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    --cc=ofir.drang@arm.com \
    --cc=rdunlap@infradead.org \
    --cc=tmaimon77@gmail.com \
    --cc=wahrenst@gmx.net \
    --cc=xuzaibo@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.