cpu/intel/microcode: Fix typo in function parameter
Change-Id: I9b03105a6808a67c2101917e1822729407271627
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50441
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/src/cpu/intel/microcode/microcode.c b/src/cpu/intel/microcode/microcode.c
index 8673990..2c8a212 100644
--- a/src/cpu/intel/microcode/microcode.c
+++ b/src/cpu/intel/microcode/microcode.c
@@ -187,7 +187,7 @@
}
#if ENV_RAMSTAGE
-__weak int soc_skip_ucode_update(u32 currrent_patch_id,
+__weak int soc_skip_ucode_update(u32 current_patch_id,
u32 new_patch_id)
{
return 0;
diff --git a/src/include/cpu/intel/microcode.h b/src/include/cpu/intel/microcode.h
index 7fd6eac..a0ab7fd 100644
--- a/src/include/cpu/intel/microcode.h
+++ b/src/include/cpu/intel/microcode.h
@@ -17,7 +17,7 @@
/* SoC specific check to determine if microcode update is really
* required, will skip microcode update if true. */
-int soc_skip_ucode_update(u32 currrent_patch_id, u32 new_patch_id);
+int soc_skip_ucode_update(u32 current_patch_id, u32 new_patch_id);
/* return the version of the currently running microcode */
uint32_t get_current_microcode_rev(void);