summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/prog_loaders.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c
index 0319325841..178209c65d 100644
--- a/src/lib/prog_loaders.c
+++ b/src/lib/prog_loaders.c
@@ -170,10 +170,6 @@ fail:
static struct prog global_payload =
PROG_INIT(PROG_PAYLOAD, CONFIG_CBFS_PREFIX "/payload");
-void __weak mirror_payload(struct prog *payload)
-{
-}
-
void payload_load(void)
{
struct prog *payload = &global_payload;
@@ -183,8 +179,6 @@ void payload_load(void)
if (prog_locate(payload))
goto out;
- mirror_payload(payload);
-
switch (prog_cbfs_type(payload)) {
case CBFS_TYPE_SELF: /* Simple ELF */
selfload_check(payload, BM_MEM_RAM);