coreboot-kgpe-d16/payloads
Yu-Ping Wu 3596a5ee67 libpayload/cbfs: Fill size_out even if cbfs_map() fails
When cbfs_map()/cbfs_ro_map() fails, the caller may still want to know
the decompressed size of the CBFS file, for example, to print an error
message. Move the assignment earlier in the flow. Note that coreboot's
cbfs_map() is already doing the same.

BUG=none
TEST=emerge-geralt libpayload
BRANCH=none

Change-Id: I82c6b7e69c95bf597fa3c7d37dd11252893c01af
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77193
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-08-18 14:15:19 +00:00
..
coreinfo payloads/coreinfo: Use C99 flexible arrays 2023-08-01 12:40:59 +00:00
external payloads/external/LinuxBoot: Fix build 2023-08-17 15:07:34 +00:00
libpayload libpayload/cbfs: Fill size_out even if cbfs_map() fails 2023-08-18 14:15:19 +00:00
linuxcheck
nvramcui
Kconfig payloads: Make PAYLOAD_NONE a bool outside of the choice 2022-11-04 13:44:59 +00:00
Makefile.inc payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00