diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2015-08-25 13:53:42 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-08-27 15:01:12 +0000 |
commit | e590358064a1db077a3dafec473433260a3ba646 (patch) | |
tree | 7359b4eaa5cb37287e4c2c8f80d98e58fd2e2a29 /util/cbfstool/cbfs_image.h | |
parent | 422c636683b82f7f2d155c28468d04d49c0d33fd (diff) | |
download | coreboot-e590358064a1db077a3dafec473433260a3ba646.tar.xz |
cbfstool: cbfs_add_entry() doesn't need to know filename or type
They're passed as part of the header now.
Change-Id: I7cd6296adac1fa72e0708b89c7009552e272f656
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11327
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/cbfstool/cbfs_image.h')
-rw-r--r-- | util/cbfstool/cbfs_image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfs_image.h b/util/cbfstool/cbfs_image.h index c1df911aff..02c4a2d0cc 100644 --- a/util/cbfstool/cbfs_image.h +++ b/util/cbfstool/cbfs_image.h @@ -93,7 +93,7 @@ int cbfs_export_entry(struct cbfs_image *image, const char *entry_name, * Never pass this function a top-aligned address: convert it to an offset. * Returns 0 on success, otherwise non-zero. */ int cbfs_add_entry(struct cbfs_image *image, struct buffer *buffer, - const char *name, uint32_t type, uint32_t content_offset, + uint32_t content_offset, void *header, uint32_t header_size); /* Removes an entry from CBFS image. Returns 0 on success, otherwise non-zero. */ |