diff options
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/amd/microcode.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/cpu/amd/microcode.h b/src/include/cpu/amd/microcode.h index b40200bca0..e6d686c36a 100644 --- a/src/include/cpu/amd/microcode.h +++ b/src/include/cpu/amd/microcode.h @@ -2,7 +2,12 @@ #define CPU_AMD_MICROCODE_H void amd_update_microcode(void *microcode_updates, unsigned processor_rev_id); -void update_microcode(u32 processor_rev_id); void model_fxx_update_microcode(unsigned cpu_deviceid); + +#if CONFIG_UPDATE_CPU_MICROCODE +void update_microcode(u32 processor_rev_id); +#else +#define update_microcode(x) +#endif #endif /* CPU_AMD_MICROCODE_H */ |