From 6ba591b4472c7b8442de860c1a401340be5e5c25 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Tue, 9 Jun 2020 09:47:06 +0800 Subject: 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 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/41719 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/picasso/cpu.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/amd/picasso/cpu.c') 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 #include #include +#include /* * 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 = { -- cgit v1.2.3