summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/logo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/fsp2_0/logo.c')
-rw-r--r--src/drivers/intel/fsp2_0/logo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp2_0/logo.c b/src/drivers/intel/fsp2_0/logo.c
index 0d430a19ac..314616b296 100644
--- a/src/drivers/intel/fsp2_0/logo.c
+++ b/src/drivers/intel/fsp2_0/logo.c
@@ -13,8 +13,8 @@ const struct cbmem_entry *fsp_load_logo(UINT32 *logo_ptr, UINT32 *logo_size)
if (logo_entry) {
logo_buffer = cbmem_entry_start(logo_entry);
if (logo_buffer) {
- *logo_size = cbfs_boot_load_file("logo.bmp", (void *)logo_buffer,
- 1 * MiB, CBFS_TYPE_RAW);
+ *logo_size = cbfs_load("logo.bmp", (void *)logo_buffer,
+ 1 * MiB);
if (*logo_size)
*logo_ptr = (UINT32)logo_buffer;
}