Skip to content

Commit

Permalink
Merge cpu/intel/acpi.h into cpu/intel/speedstep.h
Browse files Browse the repository at this point in the history
We had only some MSR definitions in there, which are used in speedstep
related code. I think speedstep.h is the better and less confusing place
for these.

Change-Id: I1eddea72c1e2d3b2f651468b08b3c6f88b713149
Signed-off-by: Nico Huber <[email protected]>
Reviewed-on: http://review.coreboot.org/1655
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <[email protected]>
  • Loading branch information
n-huber authored and reinauer committed Nov 1, 2012
1 parent bef3d34 commit 41392df
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 29 deletions.
1 change: 0 additions & 1 deletion src/cpu/intel/model_206ax/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <arch/acpigen.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/acpi.h>
#include <cpu/intel/speedstep.h>
#include <cpu/intel/turbo.h>
#include <device/device.h>
Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/model_6ex/model_6ex_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <cpu/intel/microcode.h>
#include <cpu/intel/hyperthreading.h>
#include <cpu/intel/speedstep.h>
#include <cpu/intel/acpi.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/name.h>
#include <usbdebug.h>
Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/model_6fx/model_6fx_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include <cpu/x86/lapic.h>
#include <cpu/intel/microcode.h>
#include <cpu/intel/speedstep.h>
#include <cpu/intel/acpi.h>
#include <cpu/intel/hyperthreading.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/name.h>
Expand Down
1 change: 0 additions & 1 deletion src/cpu/intel/speedstep/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <arch/acpigen.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/acpi.h>
#include <cpu/intel/speedstep.h>
#include <device/device.h>

Expand Down
24 changes: 0 additions & 24 deletions src/include/cpu/intel/acpi.h

This file was deleted.

7 changes: 7 additions & 0 deletions src/include/cpu/intel/speedstep.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@
*/
#define PMB1_BASE 0x800


/* Speedstep related MSRs */
#define IA32_PLATFORM_ID 0x017
#define IA32_PERF_STS 0x198
#define IA32_PERF_CTL 0x199
#define MSR_THERM2_CTL 0x19D
#define IA32_MISC_ENABLES 0x1A0
2 changes: 1 addition & 1 deletion src/mainboard/intel/eagleheights/romstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <pc80/mc146818rtc.h>
#include <console/console.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/acpi.h>
#include <cpu/intel/speedstep.h>
#include "southbridge/intel/i3100/early_smbus.c"
#include "southbridge/intel/i3100/early_lpc.c"
#include "reset.c"
Expand Down

0 comments on commit 41392df

Please sign in to comment.