summaryrefslogtreecommitdiff
path: root/src/lib/prog_loaders.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2019-11-08 15:18:31 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-11-15 11:03:13 +0000
commitb75f504bb0b5c2d2edd8bae1432b1fbdc12c1aed (patch)
treef90115bc6569f919915266754fc149c9509fe1aa /src/lib/prog_loaders.c
parent5d14c76f1ae62d0543614340f4b588adf4f506eb (diff)
cbfs: remove prepare() callback from struct cbfs_locator
The prepare() callback is no longer utilized in the code. Remove the callback and support for it. Change-Id: Ic438e5a80850a3df619dbbfdecb522a9dc2c1949 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36690 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
Diffstat (limited to 'src/lib/prog_loaders.c')
-rw-r--r--src/lib/prog_loaders.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c
index 43f4689940..57874967ec 100644
--- a/src/lib/prog_loaders.c
+++ b/src/lib/prog_loaders.c
@@ -43,8 +43,6 @@ int prog_locate(struct prog *prog)
if (prog_locate_hook(prog))
return -1;
- cbfs_prepare_program_locate();
-
if (cbfs_boot_locate(&file, prog_name(prog), NULL))
return -1;