From aaedecaea4748ca656c5fdf0fae529b9e7b5408d Mon Sep 17 00:00:00 2001 From: Oskar Enoksson Date: Tue, 11 Feb 2014 22:51:03 +0100 Subject: hp/dl145_g1: Adding FID/VID and Powernow ACPI Add cool-n-quiet functionality which allows the OS to dynamic alter CPU voltage and frequency change in order to save power e.g. when the CPU load is low. Change-Id: I4c895a56bcf571d4276af192aeef87d120143063 Signed-off-by: Oskar Enoksson Reviewed-on: http://review.coreboot.org/5186 Reviewed-by: Alexandru Gagniuc Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) --- src/mainboard/hp/dl145_g1/acpi_tables.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/hp/dl145_g1/acpi_tables.c') diff --git a/src/mainboard/hp/dl145_g1/acpi_tables.c b/src/mainboard/hp/dl145_g1/acpi_tables.c index dd96318f58..c94688ec1a 100644 --- a/src/mainboard/hp/dl145_g1/acpi_tables.c +++ b/src/mainboard/hp/dl145_g1/acpi_tables.c @@ -21,6 +21,7 @@ #include #include "northbridge/amd/amdk8/acpi.h" #include "mb_sysconf.h" +#include #define DUMP_ACPI_TABLES 0 @@ -163,6 +164,10 @@ 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(); +#if CONFIG_SET_FIDVID + amd_model_fxx_generate_powernow(pm_base + 0x10, 6, 1); + acpigen_write_mainboard_resources("\\_SB.PCI0.MBRS", "_CRS"); +#endif return (unsigned long) (acpigen_get_current()); } -- cgit v1.2.3