]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM: zynq: Add RSA dependency directly to Kconfig
authorMichal Simek <michal.simek@xilinx.com>
Fri, 16 Dec 2016 11:19:02 +0000 (12:19 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 11 Jan 2017 13:10:37 +0000 (14:10 +0100)
Simplify zynq config file.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
cmd/Kconfig
include/configs/zynq-common.h

index 8aae48067cfc70d57272df2f46f5c8093aad9f16..c7bd648744dd0bf15a3b46500151d06312404e04 100644 (file)
@@ -612,6 +612,7 @@ config CMD_ZYNQ_AES
 
 config CMD_ZYNQ_RSA
        bool "Zynq RSA"
+       select RSA
        help
          Verifies the authenticated and encrypted zynq images.
 
index 0d96392f74f951901ecc82729ee8a4391a896cad..7228820c14b1fa0e06ddb955d2dc1ee831a08882 100644 (file)
 
 /* Commands */
 #if defined(CONFIG_CMD_ZYNQ_RSA)
-# ifndef CONFIG_RSA
-#  define CONFIG_RSA
-# endif
 #define CONFIG_SHA256
 #endif