summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-11-18 13:46:00 -0500
committerTom Rini <[email protected]>2021-11-18 13:46:00 -0500
commit7a9b76814716df6685bcb5e4752ea732e2fe8885 (patch)
treec467f074cd5a60b081f6db66ee9df3b6981620c0 /lib
parentf299171c1dd8fb77b56b317adf80f7c60627d64f (diff)
parentb5b97ae07368d1b453d08d602b7c790b325366a9 (diff)
Merge branch '2021-11-17-assorted-driver-platform-updates' into next
- NVMe updates - TI AM64x related USB updates - Update PCIe CAM support macros, add PCI CAM support as well - AST2600, Apple (ARM64) pinctrl drivers - ARM-specific DEBUG uart inconsistencies fixed - MediaTek MMC improvement - aspeed: Support secure boot chain with FIT image verification
Diffstat (limited to 'lib')
-rw-r--r--lib/rsa/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index 469596abe7a..be9775bcceb 100644
--- a/lib/rsa/Kconfig
+++ b/lib/rsa/Kconfig
@@ -1,7 +1,8 @@
config RSA
bool "Use RSA Library"
select RSA_FREESCALE_EXP if FSL_CAAM && !ARCH_MX7 && !ARCH_MX7ULP && !ARCH_MX6 && !ARCH_MX5
- select RSA_SOFTWARE_EXP if !RSA_FREESCALE_EXP
+ select RSA_ASPEED_EXP if ASPEED_ACRY
+ select RSA_SOFTWARE_EXP if !RSA_FREESCALE_EXP && !RSA_ASPEED_EXP
help
RSA support. This enables the RSA algorithm used for FIT image
verification in U-Boot.
@@ -62,4 +63,11 @@ config RSA_FREESCALE_EXP
Enables driver for RSA modular exponentiation using Freescale cryptographic
accelerator - CAAM.
+config RSA_ASPEED_EXP
+ bool "Enable RSA Modular Exponentiation with ASPEED crypto accelerator"
+ depends on DM && ASPEED_ACRY
+ help
+ Enables driver for RSA modular exponentiation using ASPEED cryptographic
+ accelerator - ACRY
+
endif