summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2024-03-05 10:00:21 -0800
committerSubrata Banik <subratabanik@google.com>2024-03-08 16:59:10 +0000
commit7eb014eba23b2141f262b7c7ba0172f16c759baa (patch)
tree326b32be3e6d32d8f01c428fbe36e06bbcd5aa78 /src/drivers/intel/fsp2_0
parentcee8eb25c8bbf9b0477dd0861df53a5dd4d0748d (diff)
drivers/intel/fsp2_0: Add "silicon" to the multiphase callback name
The `platform_fsp_multi_phase_init_cb' callback is specific to FSP-S, let's rename it 'platform_fsp_silicon_multi_phase_init_cb' to avoid any confusion. Change-Id: I86b69e2069f08023e6f48464f6df4593710aa9ee Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81094 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/drivers/intel/fsp2_0')
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/api.h2
-rw-r--r--src/drivers/intel/fsp2_0/silicon_init.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/intel/fsp2_0/include/fsp/api.h b/src/drivers/intel/fsp2_0/include/fsp/api.h
index c035452e05..40a64e68c8 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/api.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/api.h
@@ -48,7 +48,7 @@ void fsps_load(void);
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version);
void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd);
/* Callbacks for SoC/Mainboard specific overrides */
-void platform_fsp_multi_phase_init_cb(uint32_t phase_index);
+void platform_fsp_silicon_multi_phase_init_cb(uint32_t phase_index);
/* Check if MultiPhase Si Init is enabled */
bool fsp_is_multi_phase_init_enabled(void);
/*
diff --git a/src/drivers/intel/fsp2_0/silicon_init.c b/src/drivers/intel/fsp2_0/silicon_init.c
index e543628987..4be4b61c84 100644
--- a/src/drivers/intel/fsp2_0/silicon_init.c
+++ b/src/drivers/intel/fsp2_0/silicon_init.c
@@ -27,7 +27,7 @@ struct fsp_multi_phase_get_number_of_phases_params {
};
/* Callbacks for SoC/Mainboard specific overrides */
-void __weak platform_fsp_multi_phase_init_cb(uint32_t phase_index)
+void __weak platform_fsp_silicon_multi_phase_init_cb(uint32_t phase_index)
{
/* Leave for the SoC/Mainboard to implement if necessary. */
}
@@ -190,7 +190,7 @@ static void do_silicon_init(struct fsp_header *hdr)
* Give SoC/mainboard a chance to perform any operation before
* Multi Phase Execution
*/
- platform_fsp_multi_phase_init_cb(i);
+ platform_fsp_silicon_multi_phase_init_cb(i);
multi_phase_params.multi_phase_action = EXECUTE_PHASE;
multi_phase_params.phase_index = i;