summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-10-24 15:29:08 +0200
committerMartin Roth <martinroth@google.com>2019-10-27 19:04:00 +0000
commitd115940d80fbfaeccf173686982984ef7d863dcc (patch)
tree1f87289ccd592bb18ee4b0f851a05f22ccc4ce20
parent6c361d68386fc7e5a89dfded067f63c1afc4ed62 (diff)
downloadcoreboot-d115940d80fbfaeccf173686982984ef7d863dcc.tar.xz
mb/lippert: Use 'Device()' instead of 'Processor()'
Processor() operator is deprecated, use Device() instead. Change-Id: I5761b093b43aa7d97a6b84730a4009a5d163550d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36309 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/mainboard/lippert/frontrunner-af/dsdt.asl37
-rw-r--r--src/mainboard/lippert/toucan-af/dsdt.asl37
2 files changed, 24 insertions, 50 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/dsdt.asl b/src/mainboard/lippert/frontrunner-af/dsdt.asl
index 67f71cbfe7..07b50713c7 100644
--- a/src/mainboard/lippert/frontrunner-af/dsdt.asl
+++ b/src/mainboard/lippert/frontrunner-af/dsdt.asl
@@ -58,34 +58,21 @@ DefinitionBlock (
*
*/
Scope (\_PR) { /* define processor scope */
- Processor(
- C000, /* name space name, align with BLDCFG_PROCESSOR_SCOPE_NAME[01] */
- 0, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C000) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 0)
}
-
- Processor(
- C001, /* name space name */
- 1, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C001) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 1)
}
- Processor(
- C002, /* name space name */
- 2, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C002) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 2)
}
- Processor(
- C003, /* name space name */
- 3, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C003) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 3)
}
} /* End _PR scope */
diff --git a/src/mainboard/lippert/toucan-af/dsdt.asl b/src/mainboard/lippert/toucan-af/dsdt.asl
index df49001676..347f1a1a02 100644
--- a/src/mainboard/lippert/toucan-af/dsdt.asl
+++ b/src/mainboard/lippert/toucan-af/dsdt.asl
@@ -58,34 +58,21 @@ DefinitionBlock (
*
*/
Scope (\_PR) { /* define processor scope */
- Processor(
- C000, /* name space name, align with BLDCFG_PROCESSOR_SCOPE_NAME[01] */
- 0, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C000) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 0)
}
-
- Processor(
- C001, /* name space name */
- 1, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C001) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 1)
}
- Processor(
- C002, /* name space name */
- 2, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C002) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 2)
}
- Processor(
- C003, /* name space name */
- 3, /* Unique number for this processor */
- 0x810, /* PBLK system I/O address !hardcoded! */
- 0x06 /* PBLKLEN for boot processor */
- ) {
+ Device (C003) {
+ Name (_HID, "ACPI0007")
+ Name (_UID, 3)
}
} /* End _PR scope */