aboutsummaryrefslogtreecommitdiff
path: root/util/cbfstool/cbfs.h
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@google.com>2014-02-04 08:29:35 -0800
committerRonald G. Minnich <rminnich@gmail.com>2014-02-05 01:00:34 +0100
commit818f369da2b0c0df553fd41aad966869653a1d91 (patch)
tree7a36eca33e8c91c583367e47d96659f5d54ad535 /util/cbfstool/cbfs.h
parent35850ae88e0be8d05ab672d5badcd89ab8006389 (diff)
Change the linux payload generator to use the standard header generator
When I changed mkpayload, I did not realize we had a duplicate block of code in the linux payload code. Have it use the same header generator as the standard payload code does. Change-Id: Ie39540089ce89b704290c89127da4c7b051ecb0e Signed-off-by: Ronald G. Minnich <rminnich@google.com> Reviewed-on: http://review.coreboot.org/5115 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/cbfstool/cbfs.h')
-rw-r--r--util/cbfstool/cbfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index 9a5af5b3b1..527c867c50 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -134,4 +134,8 @@ elf_headers(const struct buffer *pinput,
Elf64_Phdr **pphdr,
Elf64_Shdr **pshdr);
+/* cbfs-mkpayload.c */
+void xdr_segs(struct buffer *output,
+ struct cbfs_payload_segment *segs, int nseg);
+
#endif