From aa77d1364f3e1cce0ee9f06b30b1a5ffc6d8321e Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 10 Feb 2021 16:13:56 +0100 Subject: soc/amd/cezanne/cpu: add basic zen_2_3_init functionality The MCA MSRs aren't getting cleared and no microcode update gets applied for now. Both will be added later. Signed-off-by: Felix Held Change-Id: I38ce5d11787ffefdd0183c5540ae2683158cbee8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50482 Reviewed-by: Marshall Dawson Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/soc/amd/cezanne/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/soc/amd') diff --git a/src/soc/amd/cezanne/cpu.c b/src/soc/amd/cezanne/cpu.c index 3e0a7dbbd8..cd2d6ed4b1 100644 --- a/src/soc/amd/cezanne/cpu.c +++ b/src/soc/amd/cezanne/cpu.c @@ -1,12 +1,16 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include #include #include +#include #include #include static void zen_2_3_init(struct device *dev) { + setup_lapic(); + set_cstate_io_addr(); } static struct device_operations cpu_dev_ops = { -- cgit v1.2.3