summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-01-11 16:07:02 -0800
committerJulius Werner <jwerner@chromium.org>2021-03-17 00:13:53 +0000
commit965846fcd0657bead026056e9bdc3625a534552e (patch)
tree1ffd1fe6f6b252087121fa4934d1d9c2d6c112ae /src/arch/riscv
parent1de8708fe50339162b4a59039e0ac45e6f3ffdd0 (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/riscv')
-rw-r--r--src/arch/riscv/boot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/riscv/boot.c b/src/arch/riscv/boot.c
index 7cb0a3636f..119039d2e7 100644
--- a/src/arch/riscv/boot.c
+++ b/src/arch/riscv/boot.c
@@ -53,9 +53,6 @@ void arch_prog_run(struct prog *prog)
if (ENV_RAMSTAGE && CONFIG(RISCV_OPENSBI)) {
struct prog sbi = PROG_INIT(PROG_OPENSBI, CONFIG_CBFS_PREFIX"/opensbi");
- if (prog_locate(&sbi))
- die("OpenSBI not found");
-
if (!selfload_check(&sbi, BM_MEM_OPENSBI))
die("OpenSBI load failed");