[PATCH] Kconfig: Don't use RSA_FREESCALE_EXP on MX7ULP

Tom Rini trini at konsulko.com
Wed Aug 25 16:13:06 CEST 2021


On Wed, Aug 25, 2021 at 04:56:51PM +0300, Oleksandr Suvorov wrote:

> From: Ricardo Salveti <ricardo at foundries.io>
> 
> The CAAM on IMX7ULP doesn't support public key hardware acceleration
> (PKHA), as in other NXP parts. Disable RSA_FREESCALE_EXP for IMX7ULP
> too.
> 
> Fixed: f4e9ff7135 ("Kconfig: Don't use RSA_FREESCALE_EXP on IMX")
> Signed-off-by: Ricardo Salveti <ricardo at foundries.io>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> ---
> 
>  lib/rsa/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
> index a90d67e5a8..55e17596f0 100644
> --- a/lib/rsa/Kconfig
> +++ b/lib/rsa/Kconfig
> @@ -1,6 +1,6 @@
>  config RSA
>  	bool "Use RSA Library"
> -	select RSA_FREESCALE_EXP if FSL_CAAM && !ARCH_MX7 && !ARCH_MX6 && !ARCH_MX5
> +	select RSA_FREESCALE_EXP if FSL_CAAM && !ARCH_MX7 && !ARCH_MX7ULP && !ARCH_MX6 && !ARCH_MX5
>  	select RSA_SOFTWARE_EXP if !RSA_FREESCALE_EXP
>  	help
>  	  RSA support. This enables the RSA algorithm used for FIT image

What iMX families does this work on?  I think we need to look at fixing
the logic to be a bit more restrictive to start with, instead of opting
families out.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210825/75d19ca9/attachment.sig>


More information about the U-Boot mailing list