summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/m4a78-em/acpi
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-10-24 15:13:14 +0200
committerMartin Roth <martinroth@google.com>2019-10-27 18:08:53 +0000
commitdac4497754d752130517b4576ea6b6caf4cda5d9 (patch)
tree606ab05d68fff5d15109e75805e2c0e4000c040b /src/mainboard/asus/m4a78-em/acpi
parent4b0598c35a25e8fe057c332819908ce0c4a0eaa5 (diff)
mb/asus: Use 'Device()' instead of 'Processor()'
Processor() keyword is deprecated, use Device() instead. Change-Id: I162304bdef6562fd660c01fb8fc67037ebe8cfa5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36304 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/asus/m4a78-em/acpi')
-rw-r--r--src/mainboard/asus/m4a78-em/acpi/cpstate.asl18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/mainboard/asus/m4a78-em/acpi/cpstate.asl b/src/mainboard/asus/m4a78-em/acpi/cpstate.asl
index 206dd686f5..acaa5bae32 100644
--- a/src/mainboard/asus/m4a78-em/acpi/cpstate.asl
+++ b/src/mainboard/asus/m4a78-em/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"
}
}