summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-09-10 16:20:02 -0600
committerFelix Held <felix-coreboot@felixheld.de>2021-09-13 14:17:15 +0000
commitb0be267c44c88b9421b09a9b1e40e8d1bfc2b254 (patch)
tree5322bb657fa6d47b1a382988f7ef91dd52274041
parent29faa8a5a25a843bd3495ca8c6b9aad79e143033 (diff)
soc/amd/common/block/cpu: Add missing include
We use cpuid_eax to get the cpuid family. BUG=b:179699789 TEST=build guybrush Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ib73e66241bb0cfd99a035c217c527338aa2d0e4d Reviewed-on: https://review.coreboot.org/c/coreboot/+/57566 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/soc/amd/common/block/cpu/update_microcode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/cpu/update_microcode.c b/src/soc/amd/common/block/cpu/update_microcode.c
index 045f9beeec..e6a57f5c99 100644
--- a/src/soc/amd/common/block/cpu/update_microcode.c
+++ b/src/soc/amd/common/block/cpu/update_microcode.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <arch/cpu.h>
#include <stdint.h>
#include <cpu/amd/microcode.h>
#include <commonlib/helpers.h>