* [PATCH v2] Kconfig: Don't use RSA_FREESCALE_EXP on MX7ULP
@ 2021-08-28 7:41 Oleksandr Suvorov
2021-10-07 14:12 ` sbabic
0 siblings, 1 reply; 2+ messages in thread
From: Oleksandr Suvorov @ 2021-08-28 7:41 UTC (permalink / raw)
To: u-boot; +Cc: Ricardo Salveti, Oleksandr Suvorov, Masahiro Yamada
From: Ricardo Salveti <ricardo@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@foundries.io>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
---
Changes in v2:
- add a dependency rule for RSA_FREESCALE_EXP
lib/rsa/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index a90d67e5a8..634c9e5fa9 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
@@ -56,7 +56,7 @@ config RSA_SOFTWARE_EXP
config RSA_FREESCALE_EXP
bool "Enable RSA Modular Exponentiation with FSL crypto accelerator"
- depends on DM && FSL_CAAM && !ARCH_MX7 && !ARCH_MX6 && !ARCH_MX5
+ depends on DM && FSL_CAAM && !ARCH_MX7 && !ARCH_MX7ULP && !ARCH_MX6 && !ARCH_MX5
help
Enables driver for RSA modular exponentiation using Freescale cryptographic
accelerator - CAAM.
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] Kconfig: Don't use RSA_FREESCALE_EXP on MX7ULP
2021-08-28 7:41 [PATCH v2] Kconfig: Don't use RSA_FREESCALE_EXP on MX7ULP Oleksandr Suvorov
@ 2021-10-07 14:12 ` sbabic
0 siblings, 0 replies; 2+ messages in thread
From: sbabic @ 2021-10-07 14:12 UTC (permalink / raw)
To: Oleksandr Suvorov, U-Boot
> From: Ricardo Salveti <ricardo@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@foundries.io>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-07 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28 7:41 [PATCH v2] Kconfig: Don't use RSA_FREESCALE_EXP on MX7ULP Oleksandr Suvorov
2021-10-07 14:12 ` sbabic
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.