From 5ee1d23bcc9d1f0748c998d0f517acc219d84771 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 14 Jul 2023 23:16:22 +0200 Subject: soc/amd/genoa: Hook up microcode updating Also update the regular expression to find the genoa blobs. Signed-off-by: Arthur Heymans Change-Id: Iba0109c049019a22cba1e0358cedbd9c198c6569 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76525 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/genoa/Kconfig | 1 + src/soc/amd/genoa/cpu.c | 3 +++ 2 files changed, 4 insertions(+) (limited to 'src/soc/amd/genoa') diff --git a/src/soc/amd/genoa/Kconfig b/src/soc/amd/genoa/Kconfig index cbf0ddd801..973677d538 100644 --- a/src/soc/amd/genoa/Kconfig +++ b/src/soc/amd/genoa/Kconfig @@ -34,6 +34,7 @@ config SOC_SPECIFIC_OPTIONS select SOC_AMD_COMMON_BLOCK_SMU_SX_ENTRY select SOC_AMD_COMMON_BLOCK_TSC select SOC_AMD_COMMON_BLOCK_UART + select SOC_AMD_COMMON_BLOCK_UCODE select SOC_AMD_COMMON_BLOCK_USE_ESPI select X86_CUSTOM_BOOTMEDIA diff --git a/src/soc/amd/genoa/cpu.c b/src/soc/amd/genoa/cpu.c index 6a07c34898..241bec21fd 100644 --- a/src/soc/amd/genoa/cpu.c +++ b/src/soc/amd/genoa/cpu.c @@ -2,6 +2,7 @@ #include #include +#include #include #include #include @@ -10,6 +11,8 @@ static void model_19_init(struct device *dev) { check_mca(); set_cstate_io_addr(); + + amd_apply_microcode_patch(); } static struct device_operations cpu_dev_ops = { -- cgit v1.2.3