summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan/s2891
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-10-05 14:54:26 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-10-19 10:55:51 +0200
commit47432544242e025b151ed56739f6cf6cbdfd3f94 (patch)
tree03e539e85036f57742dddcfbe4e2e4f23275acf9 /src/mainboard/tyan/s2891
parenta3bdbcc11e9f2d9a83c0ee0a7cfc4fa318341c03 (diff)
amd: rename model_fxx_powernow to powernow.
Change-Id: Iee581183f9cd9f5fecd5604536b735f6a04a0f93 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/7019 Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
Diffstat (limited to 'src/mainboard/tyan/s2891')
-rw-r--r--src/mainboard/tyan/s2891/acpi_tables.c2
-rw-r--r--src/mainboard/tyan/s2891/mainboard.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/src/mainboard/tyan/s2891/acpi_tables.c b/src/mainboard/tyan/s2891/acpi_tables.c
index 8138b8348e..126e3ea041 100644
--- a/src/mainboard/tyan/s2891/acpi_tables.c
+++ b/src/mainboard/tyan/s2891/acpi_tables.c
@@ -18,7 +18,7 @@
#include <cpu/amd/mtrr.h>
#include <cpu/amd/amdk8_sysconf.h>
#include "northbridge/amd/amdk8/acpi.h"
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
/* APIC */
unsigned long acpi_fill_madt(unsigned long current)
diff --git a/src/mainboard/tyan/s2891/mainboard.c b/src/mainboard/tyan/s2891/mainboard.c
index c3237b305c..9a8dd906a8 100644
--- a/src/mainboard/tyan/s2891/mainboard.c
+++ b/src/mainboard/tyan/s2891/mainboard.c
@@ -1,15 +1,13 @@
#include <console/console.h>
#include <device/device.h>
#include <arch/acpi.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/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);
+ amd_generate_powernow(0, 0, 0);
}
static void mainboard_enable(device_t dev)