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>
This commit is contained in:
parent
6ebfee848c
commit
1369516d28
|
@ -746,8 +746,8 @@ static uint8_t cse_fw_update(const struct cse_bp_info *cse_bp_info)
|
||||||
struct cse_rw_metadata source_metadata;
|
struct cse_rw_metadata source_metadata;
|
||||||
|
|
||||||
/* Read CSE CBFS RW metadata */
|
/* Read CSE CBFS RW metadata */
|
||||||
if (cbfs_boot_load_file(CONFIG_SOC_INTEL_CSE_RW_METADATA_CBFS_NAME, &source_metadata,
|
if (cbfs_load(CONFIG_SOC_INTEL_CSE_RW_METADATA_CBFS_NAME, &source_metadata,
|
||||||
sizeof(source_metadata), CBFS_TYPE_RAW) != sizeof(source_metadata)) {
|
sizeof(source_metadata)) != sizeof(source_metadata)) {
|
||||||
printk(BIOS_ERR, "cse_lite: Failed to get CSE CBFS RW metadata\n");
|
printk(BIOS_ERR, "cse_lite: Failed to get CSE CBFS RW metadata\n");
|
||||||
return CSE_LITE_SKU_RW_METADATA_NOT_FOUND;
|
return CSE_LITE_SKU_RW_METADATA_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue