summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/thatcher/acpi
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-10-24 14:59:48 +0200
committerMartin Roth <martinroth@google.com>2019-10-27 18:07:10 +0000
commitaf84368591076936f3059b080950e47939ca48fc (patch)
tree07b60b92b11aedf7c9bfd8ec4a7905996191d523 /src/mainboard/amd/thatcher/acpi
parent2c34892efd0aa2dd4491db81e63c9596502753b3 (diff)
downloadcoreboot-af84368591076936f3059b080950e47939ca48fc.tar.xz
mb/amd: Use 'Device()' instead of 'Processor()'
Processor() operator is deprecated, use Device() instead. Change-Id: Ia1d73806b00ec38084fff3989f52227d4c216e65 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36302 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/amd/thatcher/acpi')
-rw-r--r--src/mainboard/amd/thatcher/acpi/cpstate.asl18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/mainboard/amd/thatcher/acpi/cpstate.asl b/src/mainboard/amd/thatcher/acpi/cpstate.asl
index 69de2d86a3..3cbc0ad60b 100644
--- a/src/mainboard/amd/thatcher/acpi/cpstate.asl
+++ b/src/mainboard/amd/thatcher/acpi/cpstate.asl
@@ -22,17 +22,25 @@
#include <arch/acpi.h>
DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001)
{
- Scope (\_PR) {
- Processor(CPU0,0,0x808,0x06) {
+ Scope (\_PR) {
+ Device (CPU0) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 0)
#include "cpstate.asl"
}
- Processor(CPU1,1,0x0,0x0) {
+ Device (CPU1) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 1)
#include "cpstate.asl"
}
- Processor(CPU2,2,0x0,0x0) {
+ Device (CPU2) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 2)
#include "cpstate.asl"
}
- Processor(CPU3,3,0x0,0x0) {
+ Device (CPU3) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 3)
#include "cpstate.asl"
}
}