summaryrefslogtreecommitdiff
path: root/src/include/payload_loader.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-02-25 00:21:10 -0600
committerAaron Durbin <adurbin@google.com>2014-03-03 21:47:40 +0100
commitceebc0503f15788604d31e16ac391ce8f99ca32e (patch)
treedb46eafa691835178b4ed84a3e45b9e6eb37be98 /src/include/payload_loader.h
parent4904802efc8eee37f95163f60823509e2a208af4 (diff)
downloadcoreboot-ceebc0503f15788604d31e16ac391ce8f99ca32e.tar.xz
selfboot: use bootmem infrastructure
Instead of packing and unpacking entries in lb_mem use the bootmem infrastructure for performing sanity checks during payload loading. Change-Id: Ica2bee7ebb0f6bf9ded31deac8cb700aa387bc7a Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/5303 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/include/payload_loader.h')
-rw-r--r--src/include/payload_loader.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/payload_loader.h b/src/include/payload_loader.h
index 4948afb6b8..7ef5806751 100644
--- a/src/include/payload_loader.h
+++ b/src/include/payload_loader.h
@@ -58,7 +58,6 @@ struct payload_loader_ops {
};
/* Defined in src/lib/selfboot.c */
-struct lb_memory;
-void *selfload(struct lb_memory *mem, struct payload *payload);
+void *selfload(struct payload *payload);
#endif /* PAYLOAD_LOADER_H */