summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-07-23 12:14:13 +0300
committerStefan Roese <sr@denx.de>2021-07-31 10:49:31 +0300
commitb4f3cc2c42d97967a3a3c8796c340f6b07ecccac (patch)
tree4ec0fdd804e64c13616595de793f5600237f93d6 /tools/Makefile
parentf63c583f9d3c4fc9da8c23744bf7c83c399db2d9 (diff)
downloadu-boot-b4f3cc2c42d97967a3a3c8796c340f6b07ecccac.tar.xz
tools: kwbimage: Do not hide usage of secure header under CONFIG_ARMADA_38X
The mkimage host tool can be used to generate kwbimage v1 image with secure header on host system for A38x plaform also when U-Boot is being compiled for different platform. So there is no reason to not allow compiling of mkimage/kwbimage with secure header support for e.g. x86-64 host. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 9517f203fd..35aefc207c 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -173,10 +173,6 @@ ifneq ($(CONFIG_SYS_U_BOOT_OFFS),)
HOSTCFLAGS_kwbimage.o += -DCONFIG_SYS_U_BOOT_OFFS=$(CONFIG_SYS_U_BOOT_OFFS)
endif
-ifneq ($(CONFIG_ARMADA_38X),)
-HOSTCFLAGS_kwbimage.o += -DCONFIG_KWB_SECURE
-endif
-
# MXSImage needs LibSSL
ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_TOOLS_LIBCRYPTO),)
HOSTCFLAGS_kwbimage.o += \