linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw_random: move TI Keystone driver into the config menu structure
@ 2020-03-05  6:21 Randy Dunlap
  2020-03-12 12:39 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2020-03-05  6:21 UTC (permalink / raw)
  To: LKML, Linux Crypto Mailing List
  Cc: Vitaly Andrianov, Tero Kristo, Murali Karicheri, Herbert Xu,
	Matt Mackall

From: Randy Dunlap <rdunlap@infradead.org>

Move the TI Keystone hardware random number generator into the
same menu as all of the other hardware random number generators.

This makes the driver config be listed in the correct place in
the kconfig tools.

Fixes: eb428ee0e3ca ("hwrng: ks-sa - add hw_random driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Vitaly Andrianov <vitalya@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Murali Karicheri <m-karicheri2@ti.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Matt Mackall <mpm@selenic.com>
Cc: linux-crypto@vger.kernel.org
---
 drivers/char/hw_random/Kconfig |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

--- linux-next-20200304.orig/drivers/char/hw_random/Kconfig
+++ linux-next-20200304/drivers/char/hw_random/Kconfig
@@ -467,6 +467,13 @@ config HW_RANDOM_NPCM
 
  	  If unsure, say Y.
 
+config HW_RANDOM_KEYSTONE
+	depends on ARCH_KEYSTONE || COMPILE_TEST
+	default HW_RANDOM
+	tristate "TI Keystone NETCP SA Hardware random number generator"
+	help
+	  This option enables Keystone's hardware random generator.
+
 endif # HW_RANDOM
 
 config UML_RANDOM
@@ -483,10 +490,3 @@ config UML_RANDOM
 	  (check your distro, or download from
 	  http://sourceforge.net/projects/gkernel/).  rngd periodically reads
 	  /dev/hwrng and injects the entropy into /dev/random.
-
-config HW_RANDOM_KEYSTONE
-	depends on ARCH_KEYSTONE || COMPILE_TEST
-	default HW_RANDOM
-	tristate "TI Keystone NETCP SA Hardware random number generator"
-	help
-	  This option enables Keystone's hardware random generator.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] hw_random: move TI Keystone driver into the config menu structure
  2020-03-05  6:21 [PATCH] hw_random: move TI Keystone driver into the config menu structure Randy Dunlap
@ 2020-03-12 12:39 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2020-03-12 12:39 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: LKML, Linux Crypto Mailing List, Vitaly Andrianov, Tero Kristo,
	Murali Karicheri, Matt Mackall

On Wed, Mar 04, 2020 at 10:21:48PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Move the TI Keystone hardware random number generator into the
> same menu as all of the other hardware random number generators.
> 
> This makes the driver config be listed in the correct place in
> the kconfig tools.
> 
> Fixes: eb428ee0e3ca ("hwrng: ks-sa - add hw_random driver")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Vitaly Andrianov <vitalya@ti.com>
> Cc: Tero Kristo <t-kristo@ti.com>
> Cc: Murali Karicheri <m-karicheri2@ti.com>
> Cc: Herbert Xu <herbert@gondor.apana.org.au>
> Cc: Matt Mackall <mpm@selenic.com>
> Cc: linux-crypto@vger.kernel.org
> ---
>  drivers/char/hw_random/Kconfig |   14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-12 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05  6:21 [PATCH] hw_random: move TI Keystone driver into the config menu structure Randy Dunlap
2020-03-12 12:39 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).