soc/intel/common/dptf: Make CPU address a define
In order to support using the common ACPI code on more platforms than just Apollo Lake the DPTF code needs to be told what the PCI address is for the CPU thermal device. Change-Id: I638f2387330bbc42f64eb0fb676ee32c5df6572e Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/c/29757 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
45b8465602
commit
b94c867bb1
|
@ -14,6 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DPTF_CPU_DEVICE TCPU
|
#define DPTF_CPU_DEVICE TCPU
|
||||||
|
#define DPTF_CPU_ADDR 0x00000001
|
||||||
|
|
||||||
#ifndef DPTF_CPU_PASSIVE
|
#ifndef DPTF_CPU_PASSIVE
|
||||||
#define DPTF_CPU_PASSIVE 80
|
#define DPTF_CPU_PASSIVE 80
|
||||||
|
|
|
@ -23,7 +23,7 @@ External (\_SB.MPDL, IntObj)
|
||||||
|
|
||||||
Device (DPTF_CPU_DEVICE)
|
Device (DPTF_CPU_DEVICE)
|
||||||
{
|
{
|
||||||
Name(_ADR, 0x00000001)
|
Name(_ADR, DPTF_CPU_ADDR)
|
||||||
|
|
||||||
Method (_STA)
|
Method (_STA)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue