summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan/s2895/mainboard.c
blob: c3237b305c5dcc4e8d84aaa511d29fe665047730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <console/console.h>
#include <device/device.h>
#include <arch/acpi.h>
#include <cpu/amd/model_fxx_powernow.h>
#include <arch/acpi.h>
#include <arch/acpigen.h>
#include <cpu/amd/amdk8_sysconf.h>

extern u16 pm_base;

static void mainboard_acpi_fill_ssdt_generator(void) {
	amd_model_fxx_generate_powernow(0, 0, 0);
}

static void mainboard_enable(device_t dev)
{
	dev->ops->acpi_fill_ssdt_generator = mainboard_acpi_fill_ssdt_generator;
}

struct chip_operations mainboard_ops = {
	.enable_dev = mainboard_enable,
};