diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-12-01 17:58:08 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-12-02 18:43:23 +0100 |
commit | 5dda4df4246ff4b4fe4e84311c6fc7b723ad7efb (patch) | |
tree | aedb89544facf01ce92e5b58d7a6efff91cda7a4 /util/cbfstool/cbfs-payload-linux.c | |
parent | 0316e1a69fa5d60f70afca00686d4b18a04e6dd2 (diff) | |
download | coreboot-5dda4df4246ff4b4fe4e84311c6fc7b723ad7efb.tar.xz |
cbfstool: remove trampoline_start and trampoline_size
It's not needed, so we can remove some extra file mangling, too.
Change-Id: I80d707708e70c07a29653258b4cb6e9cd88d3de3
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/12508
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/cbfstool/cbfs-payload-linux.c')
-rw-r--r-- | util/cbfstool/cbfs-payload-linux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/cbfstool/cbfs-payload-linux.c b/util/cbfstool/cbfs-payload-linux.c index 249276602d..84e348de11 100644 --- a/util/cbfstool/cbfs-payload-linux.c +++ b/util/cbfstool/cbfs-payload-linux.c @@ -22,8 +22,8 @@ #include "linux.h" /* trampoline */ -extern void *trampoline_start; -extern long trampoline_size; +extern unsigned char trampoline[]; +extern unsigned int trampoline_len; /* * Current max number of segments include: @@ -97,8 +97,8 @@ static void bzp_add_segment(struct bzpayload *bzp, struct buffer *b, void *data, static int bzp_add_trampoline(struct bzpayload *bzp) { - bzp_add_segment(bzp, &bzp->trampoline, trampoline_start, - trampoline_size); + bzp_add_segment(bzp, &bzp->trampoline, trampoline, + trampoline_len); return 0; } |