soc/amd/cezanne: add empty CPU driver
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I54299cadae4cb562e04a16c3b8e051c9c454db79 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50404 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
parent
ccf99a39d2
commit
060b8ad7a3
2 changed files with 25 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ romstage-y += romstage.c
|
|||
romstage-y += uart.c
|
||||
|
||||
ramstage-y += chip.c
|
||||
ramstage-y += cpu.c
|
||||
ramstage-y += fch.c
|
||||
ramstage-y += fsp_params.c
|
||||
ramstage-y += gpio.c
|
||||
|
|
|
|||
24
src/soc/amd/cezanne/cpu.c
Normal file
24
src/soc/amd/cezanne/cpu.c
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <console/console.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <device/device.h>
|
||||
#include <soc/cpu.h>
|
||||
|
||||
static void zen_2_3_init(struct device *dev)
|
||||
{
|
||||
}
|
||||
|
||||
static struct device_operations cpu_dev_ops = {
|
||||
.init = zen_2_3_init,
|
||||
};
|
||||
|
||||
static struct cpu_device_id cpu_table[] = {
|
||||
{ X86_VENDOR_AMD, CEZANNE_A0_CPUID},
|
||||
{ 0, 0 },
|
||||
};
|
||||
|
||||
static const struct cpu_driver zen_2_3 __cpu_driver = {
|
||||
.ops = &cpu_dev_ops,
|
||||
.id_table = cpu_table,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue