diff options
author | Julius Werner <jwerner@chromium.org> | 2021-01-11 16:07:02 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-03-17 00:13:53 +0000 |
commit | 965846fcd0657bead026056e9bdc3625a534552e (patch) | |
tree | 1ffd1fe6f6b252087121fa4934d1d9c2d6c112ae /src/arch/arm64/bl31.c | |
parent | 1de8708fe50339162b4a59039e0ac45e6f3ffdd0 (diff) |
cbfs: Remove prog_locate() for payloads (SELF and FIT)
This patch removes the prog_locate() call for all instances of loading
payload formats (SELF and FIT), as the previous patch did for stages.
Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I582b37f36fe6f9f26975490a823e85b130ba49a2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49336
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/arm64/bl31.c')
-rw-r--r-- | src/arch/arm64/bl31.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/arm64/bl31.c b/src/arch/arm64/bl31.c index a3870275ac..06676bcab8 100644 --- a/src/arch/arm64/bl31.c +++ b/src/arch/arm64/bl31.c @@ -76,9 +76,6 @@ void run_bl31(u64 payload_entry, u64 payload_arg0, u64 payload_spsr) struct prog bl31 = PROG_INIT(PROG_BL31, CONFIG_CBFS_PREFIX"/bl31"); void (*bl31_entry)(bl_params_t *params, void *plat_params) = NULL; - if (prog_locate(&bl31)) - die("BL31 not found"); - if (!selfload_check(&bl31, BM_MEM_BL31)) die("BL31 load failed"); bl31_entry = prog_entry(&bl31); |