summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/amd/model_fxx/powernow_acpi.c4
-rw-r--r--src/include/cpu/amd/powernow.h (renamed from src/include/cpu/amd/model_fxx_powernow.h)6
-rw-r--r--src/mainboard/amd/pistachio/acpi_tables.c2
-rw-r--r--src/mainboard/asrock/939a785gmh/acpi_tables.c2
-rw-r--r--src/mainboard/asus/a8n_e/acpi_tables.c2
-rw-r--r--src/mainboard/asus/a8v-e_se/acpi_tables.c2
-rw-r--r--src/mainboard/asus/k8v-x/acpi_tables.c2
-rw-r--r--src/mainboard/asus/m2v-mx_se/acpi_tables.c2
-rw-r--r--src/mainboard/asus/m2v/acpi_tables.c2
-rw-r--r--src/mainboard/gigabyte/m57sli/acpi_tables.c2
-rw-r--r--src/mainboard/hp/dl145_g1/acpi_tables.c2
-rw-r--r--src/mainboard/iwill/dk8_htx/mainboard.c2
-rw-r--r--src/mainboard/kontron/kt690/acpi_tables.c2
-rw-r--r--src/mainboard/msi/ms9652_fam10/acpi_tables.c4
-rw-r--r--src/mainboard/siemens/sitemp_g1p1/acpi_tables.c2
-rw-r--r--src/mainboard/technexion/tim5690/acpi_tables.c2
-rw-r--r--src/mainboard/technexion/tim8690/acpi_tables.c2
-rw-r--r--src/mainboard/tyan/s2891/acpi_tables.c2
-rw-r--r--src/mainboard/tyan/s2891/mainboard.c6
-rw-r--r--src/mainboard/tyan/s2892/acpi_tables.c2
-rw-r--r--src/mainboard/tyan/s2892/mainboard.c6
-rw-r--r--src/mainboard/tyan/s2895/acpi_tables.c2
-rw-r--r--src/mainboard/tyan/s2895/mainboard.c4
-rw-r--r--src/mainboard/winent/mb6047/acpi_tables.c2
-rw-r--r--src/mainboard/winent/mb6047/mainboard.c6
-rw-r--r--src/southbridge/amd/amd8111/lpc.c4
-rw-r--r--src/southbridge/amd/sb600/lpc.c4
-rw-r--r--src/southbridge/amd/sb700/lpc.c4
-rw-r--r--src/southbridge/nvidia/mcp55/lpc.c4
-rw-r--r--src/southbridge/via/k8t890/traf_ctrl.c4
30 files changed, 43 insertions, 49 deletions
diff --git a/src/cpu/amd/model_fxx/powernow_acpi.c b/src/cpu/amd/model_fxx/powernow_acpi.c
index 41cfc5665c..a294cd2641 100644
--- a/src/cpu/amd/model_fxx/powernow_acpi.c
+++ b/src/cpu/amd/model_fxx/powernow_acpi.c
@@ -22,7 +22,7 @@
#include <stdint.h>
#include <cpu/x86/msr.h>
#include <arch/acpigen.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <cpu/x86/msr.h>
@@ -878,7 +878,7 @@ static int pstates_algorithm(u32 pcontrol_blk, u8 plen, u8 onlyBSP)
#endif
-int amd_model_fxx_generate_powernow(u32 pcontrol_blk, u8 plen, u8 onlyBSP)
+int amd_generate_powernow(u32 pcontrol_blk, u8 plen, u8 onlyBSP)
{
int lens;
char pscope[] = "\\_PR";
diff --git a/src/include/cpu/amd/model_fxx_powernow.h b/src/include/cpu/amd/powernow.h
index a6d9c2032f..4a122b8c02 100644
--- a/src/include/cpu/amd/model_fxx_powernow.h
+++ b/src/include/cpu/amd/powernow.h
@@ -17,9 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MODEL_FXX_POWERNOW_H
-#define MODEL_FXX_POWERNOW_H
+#ifndef POWERNOW_H
+#define POWERNOW_H
-int amd_model_fxx_generate_powernow(u32 pcontrol_blk, u8 plen, u8 onlyBSP);
+int amd_generate_powernow(u32 pcontrol_blk, u8 plen, u8 onlyBSP);
#endif
diff --git a/src/mainboard/amd/pistachio/acpi_tables.c b/src/mainboard/amd/pistachio/acpi_tables.c
index 2a587cd621..63c8aeca8e 100644
--- a/src/mainboard/amd/pistachio/acpi_tables.c
+++ b/src/mainboard/amd/pistachio/acpi_tables.c
@@ -28,7 +28,7 @@
#include <cpu/amd/amdk8_sysconf.h>
#include "northbridge/amd/amdk8/acpi.h"
#include <arch/cpu.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
unsigned long acpi_fill_madt(unsigned long current)
{
diff --git a/src/mainboard/asrock/939a785gmh/acpi_tables.c b/src/mainboard/asrock/939a785gmh/acpi_tables.c
index 2b05888eb7..1b3a7476a0 100644
--- a/src/mainboard/asrock/939a785gmh/acpi_tables.c
+++ b/src/mainboard/asrock/939a785gmh/acpi_tables.c
@@ -28,7 +28,7 @@
#include <cpu/amd/amdk8_sysconf.h>
#include "northbridge/amd/amdk8/acpi.h"
#include <arch/cpu.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <southbridge/amd/sb700/sb700.h>
unsigned long acpi_fill_madt(unsigned long current)
diff --git a/src/mainboard/asus/a8n_e/acpi_tables.c b/src/mainboard/asus/a8n_e/acpi_tables.c
index 2e0691595c..c1e53aa4f2 100644
--- a/src/mainboard/asus/a8n_e/acpi_tables.c
+++ b/src/mainboard/asus/a8n_e/acpi_tables.c
@@ -19,7 +19,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/asus/a8v-e_se/acpi_tables.c b/src/mainboard/asus/a8v-e_se/acpi_tables.c
index 2c76878611..c0d086229f 100644
--- a/src/mainboard/asus/a8v-e_se/acpi_tables.c
+++ b/src/mainboard/asus/a8v-e_se/acpi_tables.c
@@ -32,7 +32,7 @@
#include "southbridge/via/vt8237r/vt8237r.h"
#include "southbridge/via/k8t890/k8t890.h"
#include "northbridge/amd/amdk8/acpi.h"
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <cpu/amd/amdk8_sysconf.h>
void get_bus_conf(void)
diff --git a/src/mainboard/asus/k8v-x/acpi_tables.c b/src/mainboard/asus/k8v-x/acpi_tables.c
index 5273c005aa..1c48a951a2 100644
--- a/src/mainboard/asus/k8v-x/acpi_tables.c
+++ b/src/mainboard/asus/k8v-x/acpi_tables.c
@@ -32,7 +32,7 @@
#include "southbridge/via/vt8237r/vt8237r.h"
#include "southbridge/via/k8t890/k8x8xx.h"
#include "northbridge/amd/amdk8/acpi.h"
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <cpu/amd/amdk8_sysconf.h>
void get_bus_conf(void)
diff --git a/src/mainboard/asus/m2v-mx_se/acpi_tables.c b/src/mainboard/asus/m2v-mx_se/acpi_tables.c
index faed40b07a..3beac4b01b 100644
--- a/src/mainboard/asus/m2v-mx_se/acpi_tables.c
+++ b/src/mainboard/asus/m2v-mx_se/acpi_tables.c
@@ -33,7 +33,7 @@
#include "southbridge/via/vt8237r/vt8237r.h"
#include "southbridge/via/k8t890/k8t890.h"
#include "northbridge/amd/amdk8/acpi.h"
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <cpu/amd/amdk8_sysconf.h>
void get_bus_conf(void)
diff --git a/src/mainboard/asus/m2v/acpi_tables.c b/src/mainboard/asus/m2v/acpi_tables.c
index c0449ec785..2cd594c4e8 100644
--- a/src/mainboard/asus/m2v/acpi_tables.c
+++ b/src/mainboard/asus/m2v/acpi_tables.c
@@ -34,7 +34,7 @@
#include "southbridge/via/vt8237r/vt8237r.h"
#include "southbridge/via/k8t890/k8t890.h"
#include "northbridge/amd/amdk8/acpi.h"
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <cpu/amd/amdk8_sysconf.h>
void get_bus_conf(void)
diff --git a/src/mainboard/gigabyte/m57sli/acpi_tables.c b/src/mainboard/gigabyte/m57sli/acpi_tables.c
index c9fc33b26e..13e7649f28 100644
--- a/src/mainboard/gigabyte/m57sli/acpi_tables.c
+++ b/src/mainboard/gigabyte/m57sli/acpi_tables.c
@@ -30,7 +30,7 @@
#include <device/device.h>
#include <device/pci_ids.h>
#include "northbridge/amd/amdk8/acpi.h"
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <device/pci.h>
#include <cpu/amd/amdk8_sysconf.h>
diff --git a/src/mainboard/hp/dl145_g1/acpi_tables.c b/src/mainboard/hp/dl145_g1/acpi_tables.c
index 34cfff5692..b051518ed6 100644
--- a/src/mainboard/hp/dl145_g1/acpi_tables.c
+++ b/src/mainboard/hp/dl145_g1/acpi_tables.c
@@ -21,7 +21,7 @@
#include <cpu/amd/amdk8_sysconf.h>
#include "northbridge/amd/amdk8/acpi.h"
#include "mb_sysconf.h"
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
unsigned long acpi_fill_madt(unsigned long current)
{
diff --git a/src/mainboard/iwill/dk8_htx/mainboard.c b/src/mainboard/iwill/dk8_htx/mainboard.c
index fba0b6ae9c..0202b50610 100644
--- a/src/mainboard/iwill/dk8_htx/mainboard.c
+++ b/src/mainboard/iwill/dk8_htx/mainboard.c
@@ -1,7 +1,7 @@
#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>
diff --git a/src/mainboard/kontron/kt690/acpi_tables.c b/src/mainboard/kontron/kt690/acpi_tables.c
index 0a9c2e8511..a3b35d527f 100644
--- a/src/mainboard/kontron/kt690/acpi_tables.c
+++ b/src/mainboard/kontron/kt690/acpi_tables.c
@@ -28,7 +28,7 @@
#include <cpu/amd/amdk8_sysconf.h>
#include "northbridge/amd/amdk8/acpi.h"
#include <arch/cpu.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
unsigned long acpi_fill_madt(unsigned long current)
{
diff --git a/src/mainboard/msi/ms9652_fam10/acpi_tables.c b/src/mainboard/msi/ms9652_fam10/acpi_tables.c
index 541c903c76..148ac1a529 100644
--- a/src/mainboard/msi/ms9652_fam10/acpi_tables.c
+++ b/src/mainboard/msi/ms9652_fam10/acpi_tables.c
@@ -30,7 +30,7 @@
#include <device/device.h>
#include <device/pci_ids.h>
//#include "northbridge/amd/amdfam10/amdfam10_acpi.h"
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <device/pci.h>
#include <cpu/amd/amdfam10_sysconf.h>
#include "mb_sysconf.h"
@@ -93,7 +93,7 @@ unsigned long acpi_fill_madt(unsigned long current)
unsigned long acpi_fill_ssdt_generator(unsigned long current, const char *oem_table_id)
{
//k8acpi_write_vars();
- //amd_model_fxx_generate_powernow(0, 0, 0);
+ //amd_generate_powernow(0, 0, 0);
//return (unsigned long) (acpigen_get_current());
return 0;
}
diff --git a/src/mainboard/siemens/sitemp_g1p1/acpi_tables.c b/src/mainboard/siemens/sitemp_g1p1/acpi_tables.c
index 1b7e63e9fd..a9828833c5 100644
--- a/src/mainboard/siemens/sitemp_g1p1/acpi_tables.c
+++ b/src/mainboard/siemens/sitemp_g1p1/acpi_tables.c
@@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
#include <../../../northbridge/amd/amdk8/acpi.h>
#include <arch/cpu.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include <southbridge/amd/rs690/rs690.h>
#include "mainboard.h"
#include <cbmem.h>
diff --git a/src/mainboard/technexion/tim5690/acpi_tables.c b/src/mainboard/technexion/tim5690/acpi_tables.c
index 0a9c2e8511..a3b35d527f 100644
--- a/src/mainboard/technexion/tim5690/acpi_tables.c
+++ b/src/mainboard/technexion/tim5690/acpi_tables.c
@@ -28,7 +28,7 @@
#include <cpu/amd/amdk8_sysconf.h>
#include "northbridge/amd/amdk8/acpi.h"
#include <arch/cpu.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
unsigned long acpi_fill_madt(unsigned long current)
{
diff --git a/src/mainboard/technexion/tim8690/acpi_tables.c b/src/mainboard/technexion/tim8690/acpi_tables.c
index 0a9c2e8511..a3b35d527f 100644
--- a/src/mainboard/technexion/tim8690/acpi_tables.c
+++ b/src/mainboard/technexion/tim8690/acpi_tables.c
@@ -28,7 +28,7 @@
#include <cpu/amd/amdk8_sysconf.h>
#include "northbridge/amd/amdk8/acpi.h"
#include <arch/cpu.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
unsigned long acpi_fill_madt(unsigned long current)
{
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)
diff --git a/src/mainboard/tyan/s2892/acpi_tables.c b/src/mainboard/tyan/s2892/acpi_tables.c
index 8138b8348e..126e3ea041 100644
--- a/src/mainboard/tyan/s2892/acpi_tables.c
+++ b/src/mainboard/tyan/s2892/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/s2892/mainboard.c b/src/mainboard/tyan/s2892/mainboard.c
index c3237b305c..9a8dd906a8 100644
--- a/src/mainboard/tyan/s2892/mainboard.c
+++ b/src/mainboard/tyan/s2892/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)
diff --git a/src/mainboard/tyan/s2895/acpi_tables.c b/src/mainboard/tyan/s2895/acpi_tables.c
index 9e724dc05e..d66a5de54b 100644
--- a/src/mainboard/tyan/s2895/acpi_tables.c
+++ b/src/mainboard/tyan/s2895/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/s2895/mainboard.c b/src/mainboard/tyan/s2895/mainboard.c
index c3237b305c..604df5100f 100644
--- a/src/mainboard/tyan/s2895/mainboard.c
+++ b/src/mainboard/tyan/s2895/mainboard.c
@@ -1,7 +1,7 @@
#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>
@@ -9,7 +9,7 @@
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)
diff --git a/src/mainboard/winent/mb6047/acpi_tables.c b/src/mainboard/winent/mb6047/acpi_tables.c
index 150cc7dbb3..15443ee394 100644
--- a/src/mainboard/winent/mb6047/acpi_tables.c
+++ b/src/mainboard/winent/mb6047/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/winent/mb6047/mainboard.c b/src/mainboard/winent/mb6047/mainboard.c
index c3237b305c..9a8dd906a8 100644
--- a/src/mainboard/winent/mb6047/mainboard.c
+++ b/src/mainboard/winent/mb6047/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)
diff --git a/src/southbridge/amd/amd8111/lpc.c b/src/southbridge/amd/amd8111/lpc.c
index 6a9d12d812..8cabcab842 100644
--- a/src/southbridge/amd/amd8111/lpc.c
+++ b/src/southbridge/amd/amd8111/lpc.c
@@ -14,7 +14,7 @@
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) && IS_ENABLED(CONFIG_PER_DEVICE_ACPI_TABLES)
#include <arch/acpi.h>
#include <arch/acpigen.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#endif
#include <stdlib.h>
#include <string.h>
@@ -130,7 +130,7 @@ unsigned long acpi_fill_mcfg(unsigned long current)
static void southbridge_acpi_fill_ssdt_generator(void) {
#if CONFIG_SET_FIDVID
- amd_model_fxx_generate_powernow(pm_base + 0x10, 6, 1);
+ amd_generate_powernow(pm_base + 0x10, 6, 1);
acpigen_write_mainboard_resources("\\_SB.PCI0.MBRS", "_CRS");
#endif
}
diff --git a/src/southbridge/amd/sb600/lpc.c b/src/southbridge/amd/sb600/lpc.c
index 329aa1dc63..7f1ca2597a 100644
--- a/src/southbridge/amd/sb600/lpc.c
+++ b/src/southbridge/amd/sb600/lpc.c
@@ -30,7 +30,7 @@
#include <arch/io.h>
#include <arch/ioapic.h>
#include <arch/acpi.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include "sb600.h"
static void lpc_init(device_t dev)
@@ -224,7 +224,7 @@ static void sb600_lpc_enable_resources(device_t dev)
extern u16 pm_base;
static void southbridge_acpi_fill_ssdt_generator(void) {
- amd_model_fxx_generate_powernow(pm_base + 8, 6, 1);
+ amd_generate_powernow(pm_base + 8, 6, 1);
}
#endif
diff --git a/src/southbridge/amd/sb700/lpc.c b/src/southbridge/amd/sb700/lpc.c
index 745a01c361..6995861a8d 100644
--- a/src/southbridge/amd/sb700/lpc.c
+++ b/src/southbridge/amd/sb700/lpc.c
@@ -31,7 +31,7 @@
#include <arch/ioapic.h>
#include <arch/acpi.h>
#include <cbmem.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include "sb700.h"
unsigned long acpi_fill_mcfg(unsigned long current)
@@ -271,7 +271,7 @@ static void sb700_lpc_enable_resources(device_t dev)
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES) && IS_ENABLED(CONFIG_PER_DEVICE_ACPI_TABLES)
static void southbridge_acpi_fill_ssdt_generator(void) {
- amd_model_fxx_generate_powernow(ACPI_CPU_CONTROL, 6, 1);
+ amd_generate_powernow(ACPI_CPU_CONTROL, 6, 1);
}
#endif
diff --git a/src/southbridge/nvidia/mcp55/lpc.c b/src/southbridge/nvidia/mcp55/lpc.c
index 5c9a060ee3..ef3c6f655e 100644
--- a/src/southbridge/nvidia/mcp55/lpc.c
+++ b/src/southbridge/nvidia/mcp55/lpc.c
@@ -40,7 +40,7 @@
#include <arch/acpi.h>
#include <arch/acpigen.h>
#endif
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include "mcp55.h"
#define NMI_OFF 0
@@ -285,7 +285,7 @@ static const struct pci_driver lpc_driver __pci_driver = {
static void southbridge_acpi_fill_ssdt_generator(void)
{
- amd_model_fxx_generate_powernow(0, 0, 0);
+ amd_generate_powernow(0, 0, 0);
}
#endif
diff --git a/src/southbridge/via/k8t890/traf_ctrl.c b/src/southbridge/via/k8t890/traf_ctrl.c
index bff4ac7546..51fcc87ebf 100644
--- a/src/southbridge/via/k8t890/traf_ctrl.c
+++ b/src/southbridge/via/k8t890/traf_ctrl.c
@@ -23,7 +23,7 @@
#include <console/console.h>
#include <arch/acpi.h>
#include <arch/acpigen.h>
-#include <cpu/amd/model_fxx_powernow.h>
+#include <cpu/amd/powernow.h>
#include "k8t890.h"
extern unsigned long log2(unsigned long x);
@@ -128,7 +128,7 @@ static void traf_ctrl_enable_k8t890(struct device *dev)
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
static void southbridge_acpi_fill_ssdt_generator(void) {
- amd_model_fxx_generate_powernow(0, 0, 0);
+ amd_generate_powernow(0, 0, 0);
acpigen_write_mainboard_resources("\\_SB.PCI0.MBRS", "_CRS");
}