summaryrefslogtreecommitdiff
path: root/src/security/intel/stm/StmPlatformSmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/intel/stm/StmPlatformSmm.c')
-rw-r--r--src/security/intel/stm/StmPlatformSmm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/security/intel/stm/StmPlatformSmm.c b/src/security/intel/stm/StmPlatformSmm.c
index eb9a0bb22f..abd7667355 100644
--- a/src/security/intel/stm/StmPlatformSmm.c
+++ b/src/security/intel/stm/StmPlatformSmm.c
@@ -35,8 +35,7 @@ int load_stm_image(uintptr_t mseg)
memset((void *)mseg_base, 0, CONFIG_MSEG_SIZE); // clear the mseg
- stm_image_size = cbfs_boot_load_file("stm.bin", mseg_base,
- stm_buffer_size, CBFS_TYPE_RAW);
+ stm_image_size = cbfs_load("stm.bin", mseg_base, stm_buffer_size);
printk(BIOS_DEBUG, "STM:loaded into mseg: 0x%p size: %u\n", mseg_base,
stm_image_size);
/* status is number of bytes loaded */