diff options
author | Julius Werner <jwerner@chromium.org> | 2022-01-12 15:42:49 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2022-01-14 00:41:13 +0000 |
commit | db29b3765b1d760c4fff4e21b27a4aabe218f4ab (patch) | |
tree | 07943b992a358058323c012d4d00faacf6029afa /payloads/libpayload/include | |
parent | f04e83abbf98d1d55ec2c4fea3fb74bf2f459139 (diff) |
libpayload: Fix legacy CBFS code after recent refactoring
The goal when adding the new CBFS API in CB:59497 was that the old CBFS
code would be left completely untouched and just moved to the side a
bit, so that it could continue to work for the payloads that use it
until they all have time to transition to the new CBFS API.
Unfortunately, between the different iterations of the patch something
went wrong with that and the final committed version of cbfs_legacy.c
does differ in some parts from the original code, including a changed
macro definition that breaks decompression support. This patch restores
all the legacy CBFS files to exactly what they used to be (other than
the necessary changes in cbfs_core.h to avoid double definition
clashes).
Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: Ic7fd428acb03d3830f66f807cd1d7cdbd652f409
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61061
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/cbfs_legacy.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/payloads/libpayload/include/cbfs_legacy.h b/payloads/libpayload/include/cbfs_legacy.h index c1b896cea4..c98da0c112 100644 --- a/payloads/libpayload/include/cbfs_legacy.h +++ b/payloads/libpayload/include/cbfs_legacy.h @@ -46,7 +46,6 @@ #define _CBFS_LEGACY_H_ #include <cbfs_core.h> -#include <libpayload.h> /* legacy APIs */ const struct cbfs_header *get_cbfs_header(void); |