summaryrefslogtreecommitdiff
path: root/util/cbfstool/cbfs-mkpayload.c
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-mkpayload.c
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-mkpayload.c')
-rw-r--r--util/cbfstool/cbfs-mkpayload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfs-mkpayload.c b/util/cbfstool/cbfs-mkpayload.c
index 6e6e4188e4..8c9f93485d 100644
--- a/util/cbfstool/cbfs-mkpayload.c
+++ b/util/cbfstool/cbfs-mkpayload.c
@@ -32,7 +32,7 @@
/* serialize the seg array into the buffer.
* The buffer is assumed to be large enough.
*/
-static void xdr_segs(struct buffer *output,
+void xdr_segs(struct buffer *output,
struct cbfs_payload_segment *segs, int nseg)
{
struct buffer outheader;