diff mbox

[v2] hwrng: msm: switch Kconfig to ARCH_QCOM depends

Message ID 1392912542-5349-1-git-send-email-galak@codeaurora.org (mailing list archive)
State New, archived
Headers show

Commit Message

Kumar Gala Feb. 20, 2014, 4:09 p.m. UTC
We've split Qualcomm MSM support into legacy and multiplatform.  The RNG
driver is only relevant on the multiplatform supported SoCs so switch the
Kconfig depends to ARCH_QCOM.

CC: Herbert Xu <herbert@gondor.apana.org.au>
CC: Stanimir Varbanov <svarbanov@mm-sol.com>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
---

Herbert,

If you can ack this I'll send it via linux-qcom/arm-soc tree's

thanks

v2:
* Updated help text to remove MSM references, made more generic

 drivers/char/hw_random/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Christopher Covington Feb. 20, 2014, 6:42 p.m. UTC | #1
On 02/20/2014 11:09 AM, Kumar Gala wrote:
> We've split Qualcomm MSM support into legacy and multiplatform.  The RNG
> driver is only relevant on the multiplatform supported SoCs so switch the
> Kconfig depends to ARCH_QCOM.
> 
> CC: Herbert Xu <herbert@gondor.apana.org.au>
> CC: Stanimir Varbanov <svarbanov@mm-sol.com>
> Signed-off-by: Kumar Gala <galak@codeaurora.org>
> ---
> 
> Herbert,
> 
> If you can ack this I'll send it via linux-qcom/arm-soc tree's
> 
> thanks
> 
> v2:
> * Updated help text to remove MSM references, made more generic
> 
>  drivers/char/hw_random/Kconfig | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
> index 2f2b084..f2b9f8c 100644
> --- a/drivers/char/hw_random/Kconfig
> +++ b/drivers/char/hw_random/Kconfig
> @@ -342,11 +342,11 @@ config HW_RANDOM_TPM
>  	  If unsure, say Y.
>  
>  config HW_RANDOM_MSM
> -	tristate "Qualcomm MSM Random Number Generator support"

> +	tristate "Qualcomm ARM SoCs Random Number Generator support"

Can the Hexagon use the PRNG, at least theoretically? If so maybe it'd be
clearest to leave ARM off.

Christopher
Kumar Gala Feb. 20, 2014, 9:54 p.m. UTC | #2
On Feb 20, 2014, at 12:42 PM, Christopher Covington <cov@codeaurora.org> wrote:

> On 02/20/2014 11:09 AM, Kumar Gala wrote:
>> We've split Qualcomm MSM support into legacy and multiplatform.  The RNG
>> driver is only relevant on the multiplatform supported SoCs so switch the
>> Kconfig depends to ARCH_QCOM.
>> 
>> CC: Herbert Xu <herbert@gondor.apana.org.au>
>> CC: Stanimir Varbanov <svarbanov@mm-sol.com>
>> Signed-off-by: Kumar Gala <galak@codeaurora.org>
>> ---
>> 
>> Herbert,
>> 
>> If you can ack this I'll send it via linux-qcom/arm-soc tree's
>> 
>> thanks
>> 
>> v2:
>> * Updated help text to remove MSM references, made more generic
>> 
>> drivers/char/hw_random/Kconfig | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>> 
>> diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
>> index 2f2b084..f2b9f8c 100644
>> --- a/drivers/char/hw_random/Kconfig
>> +++ b/drivers/char/hw_random/Kconfig
>> @@ -342,11 +342,11 @@ config HW_RANDOM_TPM
>> 	  If unsure, say Y.
>> 
>> config HW_RANDOM_MSM
>> -	tristate "Qualcomm MSM Random Number Generator support"
> 
>> +	tristate "Qualcomm ARM SoCs Random Number Generator support"
> 
> Can the Hexagon use the PRNG, at least theoretically? If so maybe it'd be
> clearest to leave ARM off.
> 
> Christopher

Fair point.

- k
diff mbox

Patch

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 2f2b084..f2b9f8c 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -342,11 +342,11 @@  config HW_RANDOM_TPM
 	  If unsure, say Y.
 
 config HW_RANDOM_MSM
-	tristate "Qualcomm MSM Random Number Generator support"
-	depends on HW_RANDOM && ARCH_MSM
+	tristate "Qualcomm ARM SoCs Random Number Generator support"
+	depends on HW_RANDOM && ARCH_QCOM
 	---help---
 	  This driver provides kernel-side support for the Random Number
-	  Generator hardware found on Qualcomm MSM SoCs.
+	  Generator hardware found on Qualcomm ARM SoCs.
 
 	  To compile this driver as a module, choose M here. the
 	  module will be called msm-rng.