From ca9944990d769ff405761fad8ee7248ce3201678 Mon Sep 17 00:00:00 2001 From: Albert Schwarzkopf Date: Wed, 22 Apr 2020 13:39:52 +0200 Subject: common: bootm: Enforce CONFIG_BOOTM_FORCE_SIGNED_IMAGES for TEE bins Currently, unsigned TEE binaries can be booted. This patch ensures that CONFIG_BOOTM_FORCE_SIGNED_IMAGES is also enforced for TEE binaries. Signed-off-by: Albert Schwarzkopf Signed-off-by: Sascha Hauer --- common/bootm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common') diff --git a/common/bootm.c b/common/bootm.c index 299985678d..8fec1ee34d 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -607,6 +607,7 @@ int bootm_boot(struct bootm_data *bootm_data) */ data->oftree_file = NULL; data->initrd_file = NULL; + data->tee_file = NULL; if (os_type != filetype_oftree) { printf("Signed boot and image is no FIT image, aborting\n"); ret = -EINVAL; -- cgit v1.2.3