From 695d86243e7d2291b670d12b61446bd50708377e Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Fri, 29 May 2020 23:10:12 +0800 Subject: amd/microcode: Change equivalant ID width to 16bit The definition of processor_rev_id in struct microcode is 16 bits. So we need to change the a series of parameters passing to 16 bits. Change-Id: Iacabee7e571bd37f3aca106d515d755969daf8f3 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/41869 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/include/cpu/amd/microcode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/cpu/amd') diff --git a/src/include/cpu/amd/microcode.h b/src/include/cpu/amd/microcode.h index 8ebe675f3e..29b5576a7f 100644 --- a/src/include/cpu/amd/microcode.h +++ b/src/include/cpu/amd/microcode.h @@ -2,6 +2,6 @@ #define CPU_AMD_MICROCODE_H void update_microcode(u32 cpu_deviceid); -void amd_update_microcode_from_cbfs(u32 equivalent_processor_rev_id); +void amd_update_microcode_from_cbfs(u16 equivalent_processor_rev_id); #endif /* CPU_AMD_MICROCODE_H */ -- cgit v1.2.3