aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniu Rosca <roscaeugeniu@gmail.com>2018-04-21 14:00:10 +0200
committerTom Rini <trini@konsulko.com>2018-04-28 10:42:35 -0400
commit39883af3f0a8e3e481752026fa7f3cfa2f506e4e (patch)
tree59e7e86527883e536944cca321109695d0d8fc6c
parent002c3234e63303062fdc7511ef69be1fdda3093c (diff)
downloadu-boot-39883af3f0a8e3e481752026fa7f3cfa2f506e4e.zip
u-boot-39883af3f0a8e3e481752026fa7f3cfa2f506e4e.tar.gz
u-boot-39883af3f0a8e3e481752026fa7f3cfa2f506e4e.tar.bz2
lib/rsa: Kconfig: Remove superfluous 'depends on RSA'
RSA_SOFTWARE_EXP and RSA_FREESCALE_EXP are wrapped inside: if RSA ... endif So, remove the redundant "depends on RSA" from their depends expression. In addition, move SPL_RSA into the same "if RSA ... endif" block, since its only direct dependeny is CONFIG_RSA. This tidies up and simplifies reading of lib/rsa/Kconfig. No functional change intended. Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--lib/rsa/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index fde1ac1..2b33f32 100644
--- a/lib/rsa/Kconfig
+++ b/lib/rsa/Kconfig
@@ -13,14 +13,14 @@ config RSA
option. The software based modular exponentiation is built into
mkimage irrespective of this option.
+if RSA
+
config SPL_RSA
bool "Use RSA Library within SPL"
- depends on RSA
-if RSA
config RSA_SOFTWARE_EXP
bool "Enable driver for RSA Modular Exponentiation in software"
- depends on DM && RSA
+ depends on DM
help
Enables driver for modular exponentiation in software. This is a RSA
algorithm used in FIT image verification. It required RSA Key as
@@ -29,7 +29,7 @@ config RSA_SOFTWARE_EXP
config RSA_FREESCALE_EXP
bool "Enable RSA Modular Exponentiation with FSL crypto accelerator"
- depends on DM && RSA && FSL_CAAM && !ARCH_MX7 && !ARCH_MX6 && !ARCH_MX5
+ depends on DM && FSL_CAAM && !ARCH_MX7 && !ARCH_MX6 && !ARCH_MX5
help
Enables driver for RSA modular exponentiation using Freescale cryptographic
accelerator - CAAM.