summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/amd/pi/00730F01/microcode_fam16h.c4
-rw-r--r--src/cpu/amd/pi/00730F01/update_microcode.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/amd/pi/00730F01/microcode_fam16h.c b/src/cpu/amd/pi/00730F01/microcode_fam16h.c
index 496f2ec9f1..7d47258d1c 100644
--- a/src/cpu/amd/pi/00730F01/microcode_fam16h.c
+++ b/src/cpu/amd/pi/00730F01/microcode_fam16h.c
@@ -88,7 +88,7 @@ static void apply_microcode_patch(const struct microcode *m)
}
static void amd_update_microcode(const void *ucode, size_t ucode_len,
- uint32_t equivalent_processor_rev_id)
+ uint16_t equivalent_processor_rev_id)
{
const struct microcode *m;
const uint8_t *c = ucode;
@@ -99,7 +99,7 @@ static void amd_update_microcode(const void *ucode, size_t ucode_len,
apply_microcode_patch(m);
}
-void amd_update_microcode_from_cbfs(uint32_t equivalent_processor_rev_id)
+void amd_update_microcode_from_cbfs(uint16_t equivalent_processor_rev_id)
{
const void *ucode;
size_t ucode_len;
diff --git a/src/cpu/amd/pi/00730F01/update_microcode.c b/src/cpu/amd/pi/00730F01/update_microcode.c
index 9142681a41..e3f0c3bdae 100644
--- a/src/cpu/amd/pi/00730F01/update_microcode.c
+++ b/src/cpu/amd/pi/00730F01/update_microcode.c
@@ -37,7 +37,7 @@ static u16 get_equivalent_processor_rev_id(u32 orig_id)
void update_microcode(u32 cpu_deviceid)
{
- u32 equivalent_processor_rev_id =
+ u16 equivalent_processor_rev_id =
get_equivalent_processor_rev_id(cpu_deviceid);
amd_update_microcode_from_cbfs(equivalent_processor_rev_id);
}