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>
This commit is contained in:
committed by
Patrick Georgi
parent
422c636683
commit
e590358064
@@ -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. */
|
||||
|
Reference in New Issue
Block a user