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 <zheng.bao@amd.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41869
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Zheng Bao
2020-05-29 23:10:12 +08:00
committed by Felix Held
parent 12e9bd4394
commit 695d86243e
3 changed files with 4 additions and 4 deletions

View File

@@ -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 */