From ceebc0503f15788604d31e16ac391ce8f99ca32e Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 25 Feb 2014 00:21:10 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/5303 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Alexandru Gagniuc --- src/include/payload_loader.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include') 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 */ -- cgit v1.2.3