2020-12-02 14:38:53 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
|
2021-01-29 16:14:57 +01:00
|
|
|
#include <acpi/acpi.h>
|
2020-12-02 14:38:53 +01:00
|
|
|
#include <device/device.h>
|
2021-01-28 23:07:48 +01:00
|
|
|
#include <fsp/api.h>
|
2021-01-28 23:40:52 +01:00
|
|
|
#include <soc/southbridge.h>
|
2021-01-28 23:07:48 +01:00
|
|
|
#include <types.h>
|
2020-12-05 01:39:28 +01:00
|
|
|
#include "chip.h"
|
2020-12-02 14:38:53 +01:00
|
|
|
|
2021-01-26 18:09:46 +01:00
|
|
|
static void enable_dev(struct device *dev)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static void soc_init(void *chip_info)
|
|
|
|
{
|
2021-01-29 16:14:57 +01:00
|
|
|
fsp_silicon_init(acpi_is_wakeup_s3());
|
2021-01-28 23:40:52 +01:00
|
|
|
|
|
|
|
fch_init(chip_info);
|
2021-01-26 18:09:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
static void soc_final(void *chip_info)
|
|
|
|
{
|
2021-01-28 23:40:52 +01:00
|
|
|
fch_final(chip_info);
|
2021-01-26 18:09:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
struct chip_operations soc_amd_cezanne_ops = {
|
|
|
|
CHIP_NAME("AMD Cezanne SoC")
|
|
|
|
.enable_dev = enable_dev,
|
|
|
|
.init = soc_init,
|
|
|
|
.final = soc_final
|
|
|
|
};
|