diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-10-24 15:20:23 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-10-27 18:11:43 +0000 |
commit | 8484a12a9c2625a654b23e6763ed6b370c4c1ac2 (patch) | |
tree | 4b9a094873c67d7ecd26ace98d9ca34a27ed400b /src/mainboard/gigabyte/ma785gm/acpi | |
parent | 6908dc8ea87484aeb50f8d72525b690f21747819 (diff) | |
download | coreboot-8484a12a9c2625a654b23e6763ed6b370c4c1ac2.tar.xz |
mb/gigabyte: Use 'Device()' instead of 'Processor()'
Processor() operator is deprecated, use Device() instead.
Change-Id: Ia27308ba17c6b5c836ada6278f7d26631e09c022
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36306
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/gigabyte/ma785gm/acpi')
-rw-r--r-- | src/mainboard/gigabyte/ma785gm/acpi/cpstate.asl | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/mainboard/gigabyte/ma785gm/acpi/cpstate.asl b/src/mainboard/gigabyte/ma785gm/acpi/cpstate.asl index 206dd686f5..acaa5bae32 100644 --- a/src/mainboard/gigabyte/ma785gm/acpi/cpstate.asl +++ b/src/mainboard/gigabyte/ma785gm/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" } } |