2014-09-21 14:31:19 +02:00
|
|
|
#include <console/console.h>
|
|
|
|
#include <device/device.h>
|
|
|
|
#include <arch/acpi.h>
|
2014-10-05 14:54:26 +02:00
|
|
|
#include <cpu/amd/powernow.h>
|
2014-09-21 14:31:19 +02:00
|
|
|
#include <arch/acpi.h>
|
|
|
|
#include <arch/acpigen.h>
|
|
|
|
#include <cpu/amd/amdk8_sysconf.h>
|
|
|
|
|
|
|
|
static void mainboard_acpi_fill_ssdt_generator(void) {
|
2014-10-05 14:54:26 +02:00
|
|
|
amd_generate_powernow(0, 0, 0);
|
2014-09-21 14:31:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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,
|
|
|
|
};
|