Patchwork [1/9] crypto: atmel-ecc: Make available for other platforms

login
register
mail settings
Submitter Linus Walleij
Date June 5, 2018, 1:49 p.m.
Message ID <20180605134950.6605-1-linus.walleij@linaro.org>
Download mbox | patch
Permalink /patch/10448327/
State Changes Requested
Delegated to: Herbert Xu
Headers show

Comments

Linus Walleij - June 5, 2018, 1:49 p.m.
This is a pure I2C driver, and this device appears on the
96boards Secure96 mezzanine card, so we want to enable the
driver on other devices. Cut the Kconfig limitations to
Atmel SoC only.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/crypto/Kconfig | 1 -
 1 file changed, 1 deletion(-)
Tudor-Dan Ambarus - June 12, 2018, 10:21 a.m.
On 06/05/2018 04:49 PM, Linus Walleij wrote:
> This is a pure I2C driver, and this device appears on the
> 96boards Secure96 mezzanine card, so we want to enable the
> driver on other devices. Cut the Kconfig limitations to
> Atmel SoC only.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>

Thanks,
ta

> ---
>   drivers/crypto/Kconfig | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
> index d1ea1a07cecb..9e33f2de8dae 100644
> --- a/drivers/crypto/Kconfig
> +++ b/drivers/crypto/Kconfig
> @@ -522,7 +522,6 @@ config CRYPTO_DEV_ATMEL_SHA
>   
>   config CRYPTO_DEV_ATMEL_ECC
>   	tristate "Support for Microchip / Atmel ECC hw accelerator"
> -	depends on ARCH_AT91 || COMPILE_TEST
>   	depends on I2C
>   	select CRYPTO_ECDH
>   	select CRC16
>

Patch

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index d1ea1a07cecb..9e33f2de8dae 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -522,7 +522,6 @@  config CRYPTO_DEV_ATMEL_SHA
 
 config CRYPTO_DEV_ATMEL_ECC
 	tristate "Support for Microchip / Atmel ECC hw accelerator"
-	depends on ARCH_AT91 || COMPILE_TEST
 	depends on I2C
 	select CRYPTO_ECDH
 	select CRC16