summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-02-09 17:51:25 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-11 10:19:04 +0000
commit56a676e5d0c7980e1968024758358a550867ef92 (patch)
tree466586e9106f01beb5cf5f5f98e34c1c8a166bfc /src
parentf843e0a8efcc6f0474df689a3fc4b388cfe6447b (diff)
downloadcoreboot-56a676e5d0c7980e1968024758358a550867ef92.tar.gz
coreboot-56a676e5d0c7980e1968024758358a550867ef92.tar.bz2
coreboot-56a676e5d0c7980e1968024758358a550867ef92.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/intel/microcode/microcode.c2
-rw-r--r--src/include/cpu/intel/microcode.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/intel/microcode/microcode.c b/src/cpu/intel/microcode/microcode.c
index 86739909c7ac..2c8a2121f243 100644
--- a/src/cpu/intel/microcode/microcode.c
+++ b/src/cpu/intel/microcode/microcode.c
@@ -187,7 +187,7 @@ void intel_update_microcode_from_cbfs(void)
}
#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 7fd6eac2863d..a0ab7fd13b50 100644
--- a/src/include/cpu/intel/microcode.h
+++ b/src/include/cpu/intel/microcode.h
@@ -17,7 +17,7 @@ void intel_microcode_load_unlocked(const void *microcode_patch);
/* 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);