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 <felix-coreboot@felixheld.de>
Change-Id: I38ce5d11787ffefdd0183c5540ae2683158cbee8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50482
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2021-02-10 16:13:56 +01:00
parent 68bcc083bd
commit aa77d1364f
1 changed files with 4 additions and 0 deletions

View File

@ -1,12 +1,16 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/cpu.h>
#include <console/console.h>
#include <cpu/cpu.h>
#include <cpu/x86/lapic.h>
#include <device/device.h>
#include <soc/cpu.h>
static void zen_2_3_init(struct device *dev)
{
setup_lapic();
set_cstate_io_addr();
}
static struct device_operations cpu_dev_ops = {