aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/cpu.c
diff options
context:
space:
mode:
authorZheng Bao <zheng.bao@amd.com>2020-06-09 09:47:06 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-06-10 21:20:19 +0000
commit6ba591b4472c7b8442de860c1a401340be5e5c25 (patch)
treebdd6bb711bcafb251c43d21221e0b3677d799cab /src/soc/amd/picasso/cpu.c
parenta5b7ddf94047aed0444b0fd44c3498a639577d58 (diff)
amd/picasso: Load x86 microcode from CBFS modules
Combine the Ucode binaries for 3 revisions of CPU into one CBFS module. This should be moved to the AMD common code later. BUG=b:153580119 TEST=mandolin Change-Id: Ib08a65b93c045afc97952a809670c85831c0faf7 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41719 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/picasso/cpu.c')
-rw-r--r--src/soc/amd/picasso/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/cpu.c b/src/soc/amd/picasso/cpu.c
index 96edd70c13..97a1780717 100644
--- a/src/soc/amd/picasso/cpu.c
+++ b/src/soc/amd/picasso/cpu.c
@@ -16,6 +16,7 @@
#include <soc/smi.h>
#include <soc/iomap.h>
#include <console/console.h>
+#include <cpu/amd/microcode.h>
/*
* MP and SMM loading initialization.
@@ -108,6 +109,8 @@ static void model_17_init(struct device *dev)
{
check_mca();
setup_lapic();
+
+ amd_update_microcode_from_cbfs();
}
static struct device_operations cpu_dev_ops = {