]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
cmd: zynqaes: fix dependencies
authorIbai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Wed, 28 Mar 2018 14:44:55 +0000 (07:44 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 23 Apr 2018 06:57:39 +0000 (08:57 +0200)
CMD_ZYNQ_AES does not depend on CMD_ZYNQ_RSA. Actually RSA requires
AES to be enabled.

Signed-off-by: Ibai Erkiaga <ibaie@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
cmd/Kconfig
configs/zynq_zc702_RSA_defconfig

index 2326c01f42d5a8332244fbb2c27ee1d3e20d74a1..10a95f5a8afe9ac15e1bf945d3fff10b00422541 100644 (file)
@@ -1160,7 +1160,6 @@ config CMD_SOUND
 
 config CMD_ZYNQ_AES
        bool "Zynq AES"
-       depends on CMD_ZYNQ_RSA
        help
          Decrypts the encrypted image present in source address
          and places the decrypted image at destination address
@@ -1169,6 +1168,7 @@ config CMD_ZYNQ_RSA
        bool "Zynq RSA"
        depends on ARCH_ZYNQ
        select RSA
+       select CMD_ZYNQ_AES
        help
          Verifies the authenticated and encrypted zynq images.
 
index c90500af7162e1b5dbc1ada75cf3dbfacf45b5fb..2473f2f5d1ef08b0a5773d7c34596b343c4d2f02 100644 (file)
@@ -32,7 +32,6 @@ CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_CACHE=y
-CONFIG_CMD_ZYNQ_AES=y
 CONFIG_CMD_ZYNQ_RSA=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_OF_EMBED=y