diff options
author | Albert Schwarzkopf <a.schwarzkopf@phytec.de> | 2020-04-22 13:39:52 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-27 21:16:05 +0200 |
commit | ca9944990d769ff405761fad8ee7248ce3201678 (patch) | |
tree | 71aebff66c0abaa55d4928ec9ee6b6cfa62a74b2 /common/bootm.c | |
parent | 10062129e708a23b354424d0134a9ccd3e56b4bc (diff) | |
download | barebox-ca9944990d769ff405761fad8ee7248ce3201678.tar.gz barebox-ca9944990d769ff405761fad8ee7248ce3201678.tar.xz |
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 <a.schwarzkopf@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootm.c')
-rw-r--r-- | common/bootm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |