summaryrefslogtreecommitdiff
path: root/Documentation/lib
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-12-13 10:16:44 -0800
committerJulius Werner <jwerner@chromium.org>2021-12-14 21:45:27 +0000
commit772714d3b32d005a0b6c03605283a2dc89e93e37 (patch)
treea41824f13274cb4a79a9f3c5b13086075a062d2d /Documentation/lib
parent58ea2819ba265139067043f0d0c6c2577d771586 (diff)
cbfstool: Use converted buffer size for do_cbfs_locate()
The whole point of moving do_cbfs_locate() later (CB:59877) was that it could use the file size that is actually going to be inserted into CBFS, rather than the on-disk file size. Unfortunately, after all that work I forgot to actually make it do that. This patch fixes that. Since there is no more use case for do_cbfs_locate() having to figure out the file size on its own, and that generally seems to be a bad idea (as the original issue shows), also remove that part of it completely and make the data_size parameter mandatory. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I1af35e8e388f78aae3593c029afcfb4e510d2b8f Reviewed-on: https://review.coreboot.org/c/coreboot/+/60084 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'Documentation/lib')
0 files changed, 0 insertions, 0 deletions