From 1369516d28b4b1f7080bad43f5077512be3e2818 Mon Sep 17 00:00:00 2001 From: V Sowmya Date: Fri, 4 Dec 2020 09:40:12 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48291 Reviewed-by: Furquan Shaikh Reviewed-by: Julius Werner Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/cse/cse_lite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/common') 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; } -- cgit v1.2.3