]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
FIT: Modify option FIT_SIGNATURE in Kconfig
authorRuchika Gupta <ruchika.gupta@freescale.com>
Fri, 23 Jan 2015 10:31:51 +0000 (16:01 +0530)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:09:58 +0000 (17:09 -0700)
For FIT signature based approach to work, RSA library needs to be selected.
The FIT_SIGNATURE option in Kconfig is modified to automatically select RSA.
Selecting RSA compiles the RSA library required for image verification.

Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
CC: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
Kconfig
lib/Kconfig

diff --git a/Kconfig b/Kconfig
index 4157da3c68485540597b7e8993d6786676ac5d25..fed488fdaf94212dfce21902d2cf812a827f819e 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -116,8 +116,9 @@ config FIT_VERBOSE
        depends on FIT
 
 config FIT_SIGNATURE
-       bool "Enabel signature verification of FIT uImages"
+       bool "Enable signature verification of FIT uImages"
        depends on FIT
+       select RSA
        help
          This option enables signature verification of FIT uImages,
          using a hash signed and verified using RSA.
index 8460439d8e772d4126b78ad616059dd38a7dabff..79b91b7747591a8192ba2e3a3b744858b3f975a4 100644 (file)
@@ -27,4 +27,11 @@ config SYS_HZ
          get_timer() must operate in milliseconds and this option must be
          set to 1000.
 
+config RSA
+       bool "Use RSA Library"
+       help
+         RSA support. This enables the RSA algorithm used for FIT image
+         verification in U-Boot.
+         See doc/uImage.FIT/signature.txt for more details.
+
 endmenu