From 965846fcd0657bead026056e9bdc3625a534552e Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Mon, 11 Jan 2021 16:07:02 -0800 Subject: 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 Change-Id: I582b37f36fe6f9f26975490a823e85b130ba49a2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49336 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/arch/arm64/bl31.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/arch/arm64/bl31.c') 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); -- cgit v1.2.3