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
src/mainboard/lippert
frontrunner-af
toucan-af

@ -58,34 +58,21 @@ DefinitionBlock (
* *
*/ */
Scope (\_PR) { /* define processor scope */ Scope (\_PR) { /* define processor scope */
Processor( Device (C000) {
C000, /* name space name, align with BLDCFG_PROCESSOR_SCOPE_NAME[01] */ Name (_HID, "ACPI0007")
0, /* Unique number for this processor */ Name (_UID, 0)
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Device (C001) {
Processor( Name (_HID, "ACPI0007")
C001, /* name space name */ Name (_UID, 1)
1, /* Unique number for this processor */
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor( Device (C002) {
C002, /* name space name */ Name (_HID, "ACPI0007")
2, /* Unique number for this processor */ Name (_UID, 2)
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor( Device (C003) {
C003, /* name space name */ Name (_HID, "ACPI0007")
3, /* Unique number for this processor */ Name (_UID, 3)
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
} /* End _PR scope */ } /* End _PR scope */

@ -58,34 +58,21 @@ DefinitionBlock (
* *
*/ */
Scope (\_PR) { /* define processor scope */ Scope (\_PR) { /* define processor scope */
Processor( Device (C000) {
C000, /* name space name, align with BLDCFG_PROCESSOR_SCOPE_NAME[01] */ Name (_HID, "ACPI0007")
0, /* Unique number for this processor */ Name (_UID, 0)
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Device (C001) {
Processor( Name (_HID, "ACPI0007")
C001, /* name space name */ Name (_UID, 1)
1, /* Unique number for this processor */
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor( Device (C002) {
C002, /* name space name */ Name (_HID, "ACPI0007")
2, /* Unique number for this processor */ Name (_UID, 2)
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
Processor( Device (C003) {
C003, /* name space name */ Name (_HID, "ACPI0007")
3, /* Unique number for this processor */ Name (_UID, 3)
0x810, /* PBLK system I/O address !hardcoded! */
0x06 /* PBLKLEN for boot processor */
) {
} }
} /* End _PR scope */ } /* End _PR scope */