diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/intel/fsp2_0/util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/util.c b/src/drivers/intel/fsp2_0/util.c index a234a7c12a..c4fe8dc933 100644 --- a/src/drivers/intel/fsp2_0/util.c +++ b/src/drivers/intel/fsp2_0/util.c @@ -17,6 +17,7 @@ #include <fsp/util.h> #include <lib.h> #include <memrange.h> +#include <program_loading.h> #include <string.h> static bool looks_like_fsp_header(const uint8_t *raw_hdr) @@ -130,5 +131,8 @@ enum cb_err fsp_load_binary(struct fsp_header *hdr, if (rdev_readat(&file_data, (void *)hdr->image_base, 0, hdr->image_size) < 0) return CB_ERR; + /* Signal that FSP component has been loaded. */ + arch_segment_loaded(hdr->image_base, hdr->image_size, SEG_FINAL); + return CB_SUCCESS; } |