From: Ibai Erkiaga Date: Wed, 28 Mar 2018 14:44:55 +0000 (-0700) Subject: cmd: zynqaes: fix dependencies X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db19abf072f626a10089bea1a99edc33f17dd906;p=thirdparty%2Fu-boot.git cmd: zynqaes: fix dependencies CMD_ZYNQ_AES does not depend on CMD_ZYNQ_RSA. Actually RSA requires AES to be enabled. Signed-off-by: Ibai Erkiaga Signed-off-by: Michal Simek --- diff --git a/cmd/Kconfig b/cmd/Kconfig index 2326c01f42d..10a95f5a8af 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -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. diff --git a/configs/zynq_zc702_RSA_defconfig b/configs/zynq_zc702_RSA_defconfig index c90500af716..2473f2f5d1e 100644 --- a/configs/zynq_zc702_RSA_defconfig +++ b/configs/zynq_zc702_RSA_defconfig @@ -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