diff options
author | V Sowmya <v.sowmya@intel.com> | 2020-12-04 09:40:12 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2020-12-07 11:53:13 +0000 |
commit | 1369516d28b4b1f7080bad43f5077512be3e2818 (patch) | |
tree | 8b3c189ae59410f06987b9870c2f77448ba521f7 /src/soc/intel/common | |
parent | 6ebfee848c43016841b1b448d051ffdb7a31d342 (diff) |
common/block/cse: Rename cbfs_boot_load_file() to cbfs_load()
This patch renames the cbfs_boot_load_file() to cbfs_load() to
avoid the build errors for cselite and align with the new changes
to API https://review.coreboot.org/c/coreboot/+/39304 .
Change-Id: I717f0a3291f781cc3cf60aae88e7479762ede9f9
Signed-off-by: V Sowmya <v.sowmya@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48291
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r-- | src/soc/intel/common/block/cse/cse_lite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/cse/cse_lite.c b/src/soc/intel/common/block/cse/cse_lite.c index 9011593417..eb4be6edd0 100644 --- a/src/soc/intel/common/block/cse/cse_lite.c +++ b/src/soc/intel/common/block/cse/cse_lite.c @@ -746,8 +746,8 @@ static uint8_t cse_fw_update(const struct cse_bp_info *cse_bp_info) struct cse_rw_metadata source_metadata; /* Read CSE CBFS RW metadata */ - if (cbfs_boot_load_file(CONFIG_SOC_INTEL_CSE_RW_METADATA_CBFS_NAME, &source_metadata, - sizeof(source_metadata), CBFS_TYPE_RAW) != sizeof(source_metadata)) { + if (cbfs_load(CONFIG_SOC_INTEL_CSE_RW_METADATA_CBFS_NAME, &source_metadata, + sizeof(source_metadata)) != sizeof(source_metadata)) { printk(BIOS_ERR, "cse_lite: Failed to get CSE CBFS RW metadata\n"); return CSE_LITE_SKU_RW_METADATA_NOT_FOUND; } |