diff options
author | Manish V Badarkhe <manish.badarkhe@arm.com> | 2024-03-18 18:03:26 +0100 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2024-03-18 18:03:26 +0100 |
commit | 4b67249600e466b4f4758ee19fc13e2b0a54118f (patch) | |
tree | d423972a4eb55957e93855a7862466fcade22cd5 | |
parent | 6d5ee5b9d7030780c7b19e6694554e69c17bbed6 (diff) | |
parent | aa68c6cdf4ac0d13162df4e2221f90c5062fb963 (diff) | |
download | tf-a-tests-master.tar.gz |
-rw-r--r-- | plat/arm/common/arm_fwu_io_storage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/arm/common/arm_fwu_io_storage.c b/plat/arm/common/arm_fwu_io_storage.c index 5af3e0600..2f44a19e2 100644 --- a/plat/arm/common/arm_fwu_io_storage.c +++ b/plat/arm/common/arm_fwu_io_storage.c @@ -157,6 +157,9 @@ int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, assert(image_id < ARRAY_SIZE(policies)); policy = &policies[image_id]; + if (policy->check == NULL) { + return result; + } result = policy->check(policy->image_spec); if (result == IO_SUCCESS) { *image_spec = policy->image_spec; |