summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/silicon_init.c
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/silicon_init.c
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/silicon_init.c')
-rw-r--r--src/drivers/intel/fsp2_0/silicon_init.c4
1 files changed, 2 insertions, 2 deletions
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;