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>
This commit is contained in:
Elyes HAOUAS 2019-10-24 15:29:08 +02:00 committed by Martin Roth
parent 6c361d6838
commit d115940d80
2 changed files with 24 additions and 50 deletions

View File

@ -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 */

View File

@ -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 */