summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRuchika Gupta <ruchika.gupta@freescale.com>2015-01-23 16:01:51 +0530
committerSimon Glass <sjg@chromium.org>2015-01-29 17:09:58 -0700
commitc4beb22fcd8cf57569a8045c8e04cea0dbbfd763 (patch)
treeea0c036e5f7bea74b8034ae02b2ab50c435e085b /lib
parentfc2f4246b4b3b750e8c5aa08440ec5e1c952088e (diff)
downloadtalos-obmc-uboot-c4beb22fcd8cf57569a8045c8e04cea0dbbfd763.tar.gz
talos-obmc-uboot-c4beb22fcd8cf57569a8045c8e04cea0dbbfd763.zip
FIT: Modify option FIT_SIGNATURE in Kconfig
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 8460439d8e..79b91b7747 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -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
OpenPOWER on IntegriCloud