diff options
author | Furquan Shaikh <furquan@google.com> | 2021-06-25 23:55:51 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2021-10-18 21:15:41 +0000 |
commit | 2bfef8d856f9f5cc0fcadefd1fd92c249ac6bfd8 (patch) | |
tree | c41890d955ee59596a63b014b8d40a57bf12e93d /util/cbfstool/cbfs_image.h | |
parent | 967730f5656e433094d97e65ce6927734d7112c7 (diff) |
cbfstool: Add helper function `buffer_from_file_aligned_size`
This change adds a helper function `buffer_from_file_aligned_size`
that loads a file into memory buffer by creating a memory buffer of
size rounded up to the provided `size_granularity` parameter.
BUG=b:189177186,b:189167923
Change-Id: Iad3430d476abcdad850505ac50e36cd5d5deecb4
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55989
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'util/cbfstool/cbfs_image.h')
0 files changed, 0 insertions, 0 deletions